---
name: "File::Util::Interface::Modern"
section: "3pm"
platform: "linux"
package: "libfile-util-perl"
version: "4.201720-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/File::Util::Interface::Modern"
---

# File::Util::Interface::Modern(3pm)

Modern call interface to File::Util

## NAME

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

## VERSION

version 4.201720

## 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.
