Ham::Callsign::DB
use Ham::Callsign::DB; my $db = new Ham::Callsign::DB(); # bootstrap everything and load the US database backend $db->initialize_dbs(["US"]); # load data from a given file set # (not all backends need this) $db->load_data("/path/to/fccdownloaddir"); # search the database and get an array reference of callsign data $results = $db->lookup("WS6Z"); # create a formatter to display the results # current available types: "Format" and "Dump" my $formatter = new Ham::Callsign::Display::Format; $formatter->display($results); $formatter->display($results, "%{8.8:thecallsign} %{first_name}");
More details can be found in the cs(1) manual.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
cs(1)
To install Ham::Callsign, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ham::Callsign
CPAN shell
perl -MCPAN -e shell install Ham::Callsign
For more information on module installation, please visit the detailed CPAN module installation guide.