This module is an extension to perl's native regexp function. It binds
anonymous hashes or named variables to matched buffers. Both normal regexp
syntax and embedded regexp syntax are supported. You can view it as a tiny
and petite data extraction system.
Perl::PrereqScanner::Lite is the lightweight prereqs scanner for perl.
This scanner uses Compiler::Lexer as tokenizer, therefore processing
speed is really fast.
Regexp-Grammars adds grammatical parsing features to Perl 5.10 regexes.
The Perl::PrereqScanner scanner will extract loosely your distribution
prerequisites from your files.
Shell-like regular expressions.
Regexp::Subst::Parallel is a module that allows you to make multiple
simultaneous substitutions safely. Using the sole exported "subst"
function has a rather different effect from doing each substitution
sequentially.
This is a second go at a module to simplify installing die() and warn()
handlers, and to make such handlers easier to write and control.
For most people, this just means that if use Religion; then you'll get
noticeably better error reporting from warn() and die(). This is especially
useful if you are using eval().
Religion provides four classes, WarnHandler, DieHandler, WarnPreHandler, and
DiePreHandler, that when you construct them return closures that can be
stored in variables that in turn get invoked by $SIG{__DIE__} and
$SIG{__WARN__}. Note that if Religion is in use, you should not modify
$SIG{__DIE__} or $SIG{__WARN__}, unless you are careful about invoking
chaining to the old handler.
Religion also provides a TraceBack function, which is used by a DieHandler
after you die() to give a better handle on the current scope of your
situation, and provide information about where you were, which might
influence where you want to go next, either returning back to where
Perltidy reads a Perl script and writes an indented, reformatted
script. The default formatting closely follows the recommendations
in perlstyle(1). Perltidy can also display perl code in syntax-
colored HTML output.
If you want your code to conform to style.perl(7), you should use:
perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs -nasc -ce
(Written by knu)
In Perl 5.8.0 the so-called "safe signals" were introduced. This means that Perl
no longer handles signals immediately but instead "between opcodes", when it is
safe to do so. The earlier immediate handling easily could corrupt the internal
state of Perl, resulting in mysterious crashes.
It's possible since perl 5.8.1 to globally disable this feature by using the
PERL_SIGNALS environment variables (as specified in "PERL_SIGNALS" in perlrun);
but there's no way to disable it locally, for a short period of time. That's
however something you might want to do, if, for example, your Perl program calls
a C routine that will potentially run for a long time and for which you want to
set a timeout.
This module therefore allows you to define UNSAFE_SIGNALS blocks in which
signals will be handled "unsafely".
Resources are a way to specify information of interest to program or
packages.
Applications use resource files to specify and document the values of
quantities or attributes of interest.
Resources can be loaded from or saved to resource files. Methods are
provided to search, modify and create resources. Packages use resources to
hardwire in their code the default values for their attributes, along with
documentation for the attributes themselves.
Packages inherit resources when subclassed, and the resource names are
updated dynamically to reflect a class hierarchy.
Methods are provided for interactive resource inspection and editing.