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:
... and only in circumstances where a numerical mode that specifies that the user has neither
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.
None known at this time.
James E Keenan CPAN ID: JKEENAN email@example.com 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.