Net::Appliance::Phrasebook is a Perl module for network appliance command-line phrasebook.
my $pb = Net::Appliance::Phrasebook->new(
platform => 'IOS',
source => '/a/file/somewhere.yml', # optional
print $pb->fetch('a_command_alias'), "n";
If you use Perl to manage interactive sessions with with the command-line interfaces of networked appliances, then you might find this module useful.
Net::Appliance::Phrasebook is a simple module that contains a number of dictionaries for the command-line interfaces of some popular network appliances.
It also supports the use of custom phrasebooks, and of hiearchies of dictionaries within phrasebooks.
- Data::Phrasebook::Loader::YAML >= 0.06
- Data::Phrasebook >= 0.26
- YAML >= 0.62