Net::Wireless::802_11::WPA::CLI::Helper - Provides various helper functions for working with Net::Wireless::802_11::WPA::CLI.
Version 0.0.0
use Net::Wireless::802_11::WPA::CLI::Helper; use Net::Wireless::802_11::WPA::CLI; my $cli=Net::Wireless::802_11::WPA::CLI->new; my $foo = Net::Wireless::802_11::WPA::CLI::Helper->new($cli); ...
This initializes the object.
There is one argument taken and that is a Net::Wireless::802_11::WPA::CLI object. If not specified, a Net::Wireless::802_11::WPA::CLI object is initiated with the defaults.
my $foo=Net::Wireless::802_11::WPA::CLI::Helper->new($cli); if ( $foo->error ){ warn('Error:'.$foo->error.': '.$foo->errorString); }
This writes a Net::Wireless::802_11::AP to a network ID.
One argument is taken and that is the Net::Wireless::802_11::AP object. It requires the variable 'networkID' to be specified. This is the network ID that it will be writen to.
$foo->apObj2network($ap); if ($foo->error){ warn('Error:'.$foo->error.': '.$foo->errorString); }
This converts a specified configured network to a Net::Wireless::802_11::AP object.
One agrument is required and it is a network ID.
my %APobj=$foo->network2APobj('0'); if ($foo->error){ warn('Error:'.$foo->error.': '.$foo->errorString); }
This converts all configured networks to a hash of Net::Wireless::802_11::AP objects. The keys used is the network ID.
my %APobj=$foo->networks2APobj; if ($foo->error){ warn('Error:'.$foo->error.': '.$foo->errorString); }
This verifies a that a network ID exists.
One argument is taken and it is the numeric network ID.
The returned value is boolean.
my $exists=$foo->NIDexists('0'); if( $foo->error ){ warn('Error:'.$foo->error.': '.$foo->errorString); }
No Net::Wireless::802_11::WPA::CLI::Helper specified or initialize a new instance.
This is a permanent error.
There was an error with the argument.
Net::Wireless::802_11::WPA::CLI errored.
The network ID does not exist.
Unable to fetch a SSID for a network ID.
The Net::Wireless::802_11::AP does not have a the variable 'networkID' specified.
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
<vvelox at vvelox.net>
bug-net-wireless-802_11-wpa-cli-helper at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Net::Wireless::802_11::WPA::CLI::Helper
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Wireless-802_11-WPA-CLI-Helper
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Net-Wireless-802_11-WPA-CLI-Helper
CPAN Ratings
http://cpanratings.perl.org/d/Net-Wireless-802_11-WPA-CLI-Helper
Search CPAN
http://search.cpan.org/dist/Net-Wireless-802_11-WPA-CLI-Helper/
Copyright 2011 Zane C. Bowers-Hadley.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Net::Wireless::802_11::WPA::CLI::Helper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Wireless::802_11::WPA::CLI::Helper
CPAN shell
perl -MCPAN -e shell install Net::Wireless::802_11::WPA::CLI::Helper
For more information on module installation, please visit the detailed CPAN module installation guide.