Stable::Module - frequently used modules on Perl5 application
use Stable::Module; # any version use Stable::Module ver.sion; # match or die
Stable::Module provides frequently used modules on Perl5 application, on both modern Perl and traditional Perl.
Stable::Module works as:
use Cwd qw(cwd); use FindBin qw($Bin); use File::Basename qw(fileparse basename dirname); use File::Path qw(mkpath rmtree); use File::Copy qw(copy move); use File::Compare qw(compare); use Sys::Hostname qw(hostname); use Time::Local qw(timelocal); use List::Util qw(first shuffle max maxstr min minstr sum); use List::MoreUtils qw(all any none notall uniq); use feature qw(say);
fileparse, basename, dirname, mkpath, rmtree, copy, and move can treat multibyte encoding of path name.
It is not possible to specify a regular expression to @suffixes.
my @fileparse = fileparse($path, @suffixes); my $basename = basename($path, @suffixes);
INABA Hitoshi <ina@cpan.org> in a CPAN
This project was originated by INABA Hitoshi.
This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ina - CPAN
The BackPAN - A Complete History of CPAN
To install Stable::Module, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Stable::Module
CPAN shell
perl -MCPAN -e shell install Stable::Module
For more information on module installation, please visit the detailed CPAN module installation guide.