File::Util::Interface::Modern - Modern call interface to File::Util
version 4.161200
Provides a ::Modern-style interface for argument passing to and between the public and private methods of File::Util.
Whereas call syntax used to only work like this:
some_method( main_arg => value, qw/ --opt=value --patern=^foo --flag / )
This module allows File::Util to work with calls that are more consistent with current practices in Perl, like this:
some_method( main_arg => { arg => value, opt => value, flag => 1 } ); -or- some_method( '/var/log' => { match => [ qr/.*\.log/, qr/access|error/ ] } )
Users, don't use this module by itself. It is intended for internal use only.
To install File::Util, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Util
CPAN shell
perl -MCPAN -e shell install File::Util
For more information on module installation, please visit the detailed CPAN module installation guide.