Regexp::Functions::chmod_et_al - Patterns for matching Perl functions chmod(), mkdir(), File::Path::mkpath(), File::Path::make_path()
use Regexp::Functions::chmod_et_al qw( $qr_chmod_et_al ); @captures = 'chmod 0000, $somedir' =~ $qr_chmod_et_al;
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:
$qr_chmod_et_al
Perl built-in chmod
chmod
Perl built-in mkdir
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:
read
execute
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.
None known at this time.
James E Keenan CPAN ID: JKEENAN jkeenan@cpan.org http://thenceforward.net/perl/modules/Regexp-Functions-chmod_et_al
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.
perl(1).
To install Regexp::Functions::chmod_et_al, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regexp::Functions::chmod_et_al
CPAN shell
perl -MCPAN -e shell install Regexp::Functions::chmod_et_al
For more information on module installation, please visit the detailed CPAN module installation guide.