NAME

Stable::Module - frequently used modules on Perl5 application

SYNOPSIS

use Stable::Module;          # any version
use Stable::Module ver.sion; # match or die

DESCRIPTION

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.

BUGS

It is not possible to specify a regular expression to @suffixes.

my @fileparse = fileparse($path, @suffixes);
my $basename  = basename($path, @suffixes);

AUTHOR

INABA Hitoshi <ina@cpan.org> in a CPAN

This project was originated by INABA Hitoshi.

LICENSE AND COPYRIGHT

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.

SEE ALSO