App::Manoc::Utils - Miscellaneous support functions
version 2.99.2
Return 1 if $addr is a valid MAC address.
$addr
Return $s trimmed and lowercase.
$s
Given a string representation of a bitlist and a list of names return the names corresponding to 1 bits.
decode_bitset('0110', ['one', 'two', 'three', 'four' ])
gives ('two', 'three').
('two', 'three')
Create a tar file called c<$filename> with files in @files storing their paths relatively to $basedir.
@files
$basedir
Use the tar command if present, otherwise Archive::Tar.
tar
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
This software is copyright (c) 2017 by Gabriele Mambrini.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Manoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Manoc
CPAN shell
perl -MCPAN -e shell install App::Manoc
For more information on module installation, please visit the detailed CPAN module installation guide.