![]() ![]() The following items are available from the object. METHODS get() Usage : my $sunspots = $propagation->get( sunspots ) įunction : gets a single item of solar dataĪrgs : a single item from the list of data items below get_groups Usage : my $sunspots = $propagation->get_groups įunction : gets an array of existing groups of dataĪrgs : n/a all_item_names Usage : $propagation->all_item_namesįunction : get an array reference of all solar and propagation data items availableĪrgs : n/a is_error() Usage : $propagation->is_error()įunction : test for an error if one was returned from the call to the resource siteĪrgs : n/a error_message() Usage : $propagation->error_message()įunction : if there was an error message when trying to call the resource site, this is it Timeout no an integer of seconds to wait forĭescription no an string 'numeric', return only CONSTRUCTOR new() Usage : my $propagation = Ham::Resources::Propagation->new() įunction : creates a new Ham::Propagation object It is highly recommended don't use 'sort' in this foreach. You can use the all_item_names method for obtain a list of all item names of data and to pass to get method, for example: foreach "$_ = ".$propagation->get($_)."\n" There are 4 groups to call: solar, hf, vhf and extended. $propagation->get(vhf), returns all data that this group. $propagation->get(aindex), returns the A-Index value without need to add the group My $category = "vhf" # categories may be solar, hf, vhf and extendedįoreach (sort keys %, returns the A-Index value from the Solar group # access to all data: Solar, HF, VHF and extendedįoreach (sort "$_ = ".$propagation->get($_)."\n" My $propagation = new Ham::resources::Propagation ĭie $propagation->error_message if $propagation->is_error Version 0.04 SYNOPSIS use Ham::Propagation Ham::Resources::Propagation - Get Solar and propagation data from web that's useful for Amateur Radio applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |