out => sub { ... }
Between Perl versions 5.17.5 and 5.17.6, a change was introduced which exposed a common pipe deadlock bug in this module, if you used closures which handle filehandles. [closes: RT#85999]
To hopefully resolve some false failures
I never got a report about this, but it clearly didn't work! Guess no-one's using a Perl before 5.7.3 or without that module any more.
Scriptalicious will do most of its core stuff without compiling most of itself, and there is an AUTOLOAD hook which puts them into place. I decided to re-enable it.
Scriptalicious scripts are less delicious without a working --help, and many systems did not bother with this soft dependency, so it is of benefit to just implement what that code did instead.
Used for telling where config was read from (or specifying where it is to be read from)
These functions didn't deal with negative input; fix that.
Gah, sorry about this. Note that it is a retrospective license, so you don't need to 'upgrade' to this version to copy the software.
Module::Build
Go back to ExtUtils::MakeMaker.
ExtUtils::MakeMaker
hush_exec
unhush_exec
getopt()
Add prompt_file from an earlier branch.
Fix Build.PL so a compatibility Makefile.PL is generated.
Another "brown paper bag release". Fixed a bug in tsay that would cause it not to work if there was a true value in $1 already. Bring on Perl 6 and lexical $/.
Added new functions 'anydump' and the awesome 'tsay'
Brown paper bag release - the prompting had some debug statements left behind.
Documentation modifications only; it was quite rightly pointed out that the documentation didn't really say what the script is useful for.
Prompt the user for arbitrary things via prompt_for(-int => "foo"), with readline support.
All functions that run things (ie run(), run_err(), capture() and capture_err() can now have arbitrary filehandle connections to closures (via a sub-process), named files or filehandles.
run()
run_err()
capture()
capture_err()
Bug fix for scripts that fork (see t/04-fork.t)
Do your getopt() and YAML::Load() in one pass! See getconf() in the man page.
YAML::Load()
getconf()
You can even include the default YAML configuration file in your POD via Pod::Constants! Soon to be documented and tested by the test suite :). But the daring can go put some YAML in a section called "DEFAULT CONFIGURATION FILE"
DEFAULT CONFIGURATION FILE
New timer utility functions start_timer(), show_delta(), show_elapsed()
start_timer()
show_delta()
show_elapsed()
barf() now does not make your script exit if inside eval {}; it checks $^S and re-throws the error instead.
barf()
eval {}
$^S
Version 1.02 - Thu, 15 Apr 2004 12:24:16 +1200 * Made barf actually barf :-} * Fixed bug with capture and -v - error "Warning: unable to close filehandle CHILD properly." * output from capture_err matches documentation Version 1.01 - Tue, 13 Apr 2004 10:26:27 +1200 * Fixed version number input - now accepts $main::VERSION as per widespread convention * Added SEE ALSO section based on feedback from module- authors@perl.org
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'µ'. Assuming UTF-8
To install Scriptalicious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Scriptalicious
CPAN shell
perl -MCPAN -e shell install Scriptalicious
For more information on module installation, please visit the detailed CPAN module installation guide.