Tommy Butler > File-Util > File::Util::Interface::Modern

Download:
File-Util-4.132140.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.132140   Source  

NAME ^

File::Util::Interface::Modern - Modern call interface to File::Util

VERSION ^

version 4.132140

DESCRIPTION ^

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.

syntax highlighting: