4 # Copyright (c) 2020 Dirk Koopman G1TLH
6 # A general purpose Route get thingy, use stat/route_user or _node if
7 # you want a list of all that particular type of thingy otherwise this
8 # is likely to be less typing and will dwym.
11 my ($self, $line) = @_;
13 my @list = split /\s+/, $line; # generate a list of callsigns
15 push @list, $self->call unless @list;
17 foreach my $call (@list) {
19 my $ref = Route::get($call);
21 push @out, print_all_fields($self, $ref, "Route::User Information $call");
23 push @out, "Route: $call not found";
25 push @out, "" if @list > 1;