The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Regexp::Functions::chmod_et_al - Patterns for matching Perl functions chmod(), mkdir(), File::Path::mkpath(), File::Path::make_path()

SYNOPSIS

  use Regexp::Functions::chmod_et_al qw( $qr_chmod_et_al );

  @captures = 'chmod 0000, $somedir' =~ $qr_chmod_et_al;

DESCRIPTION

This module exports on request only a single scalar, $qr_chmod_et_al, which is a compiled regular expression. The regex has a very limited focus: Searching Perl source code for instances of the following functions:

  • Perl built-in chmod

  • Perl built-in mkdir

  • File::Path::mkpath()

  • File::Path::make_path()

... and only in circumstances where a numerical mode that specifies that the user has neither read nor execute is being supplied as an argument. Examples of such modes:

    0000
     000
      00
       0
    0200
     200
    0222

NOTE: This is alpha code. This is a developer's tool and is not intended be used in production code.

BUGS

None known at this time.

AUTHOR

    James E Keenan
    CPAN ID: JKEENAN
    jkeenan@cpan.org
    http://thenceforward.net/perl/modules/Regexp-Functions-chmod_et_al

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).