App::Netdisco::Util::Web
A set of helper subroutines to support parts of the Netdisco application.
There are no default exports, however the :all tag will export all subroutines.
:all
Convert wildcard characters "*" and "?" to "%" and "_" respectively.
*
?
%
_
Pass a true value to $exact to only substitute the existing wildcards, and not also add "*" to each end of the value.
$exact
In list context, returns two values, the translated value, and also an SQL::Abstract LIKE clause.
Sort port names of various types used by device vendors. Interface is as Perl's own sort - two input args and an integer return value.
sort
Sort devices modules into tree hierarchy based upon position and parent - input arg is module list.
Takes an interval in days, weeks, months, or years in a format like '7 days' and returns a date range in the format 'YYYY-MM-DD to YYYY-MM-DD' by subtracting the interval from the current date.
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.