table of contents
File::Util::Interface::Modern(3pm) | User Contributed Perl Documentation | File::Util::Interface::Modern(3pm) |
NAME¶
File::Util::Interface::Modern - Modern call interface to File::UtilVERSION¶
version 4.161950DESCRIPTION¶
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.
2016-08-02 | perl v5.22.2 |