App::Netdisco::Util::Permission
Helper subroutines to support parts of the Netdisco application.
There are no default exports, however the :all tag will export all subroutines.
:all
Given an IP address or object instance, returns true if the configuration setting $setting_name matches, else returns false. If the setting is undefined or empty, then check_acl_no also returns false.
$setting_name
check_acl_no
See App::Netdisco::Manual::Configuration for details of what $setting_name can contain.
Given an IP address or object instance, returns true if the configuration setting $setting_name matches, else returns false. If the setting is undefined or empty, then check_acl_only also returns true.
check_acl_only
Given an IP address or object instance, compares it to the items in \@config then returns true or false. You can control whether any item must match or all must match, and items can be negated to invert the match logic.
\@config
Accepts instances of classes representing Netdisco Devices, Netdisco Device IPs, and NetAddr::IP family objects.
There are several options for what \@config can contain. See App::Netdisco::Manual::Configuration for the details.
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Netdisco
CPAN shell
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.