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

WHATS NEW IN SCRIPTALICIOUS

VERSION 1.17

Fix deadlock with 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]

VERSION 1.16

Clear PERL5OPT before invoking $^X in tests

To hopefully resolve some false failures

Fix code for case when Time::HiRes is not available

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.

put the magic AUTOLOAD back

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.

remove (soft) dependency on Pod::Constants

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.

new $CONFIG variable

Used for telling where config was read from (or specifying where it is to be read from)

deal with negative values in sci_unit and time_unit

These functions didn't deal with negative input; fix that.

VERSION 1.15

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.

VERSION 1.14

5.6.x compat: fix missed instance of unquoted filehandle in test suite

VERSION 1.13

5.6.x compat: don't use readline FH; use <FH> instead
Don't die if getconf is called without YAML installed; warn instead
Make YAML config test conditional on YAML being installed
Fix incorrectly written e-mail address in Makefile.PL
Remove TODO file; these features have been added!

VERSION 1.12

Add getopt_lenient()
Add time_unit() function
Use time_unit instead of sci_unit in show_elapsed/show_delta
Fix test that was still testing for µ

VERSION 1.11

Drop Module::Build dependency

Go back to ExtUtils::MakeMaker.

Fix various problems with prompt_*
Add hush_exec and unhush_exec functions
Make getopt() optional for getting verbosity right
Functions don't clobber $_ (Gerard Goosen)

VERSION 1.10

Add prompt_file from an earlier branch.

Fix Build.PL so a compatibility Makefile.PL is generated.

VERSION 1.09

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 $/.

VERSION 1.08

Added new functions 'anydump' and the awesome 'tsay'

VERSION 1.07

Brown paper bag release - the prompting had some debug statements left behind.

VERSION 1.06

Documentation modifications only; it was quite rightly pointed out that the documentation didn't really say what the script is useful for.

VERSION 1.05

Prompting

Prompt the user for arbitrary things via prompt_for(-int => "foo"), with readline support.

Filehandle Plugging and Playing

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.

VERSION 1.04

Bug fix for scripts that fork (see t/04-fork.t)

VERSION 1.03

YAML config file support

Do your getopt() and YAML::Load() in one pass! See getconf() in the man page.

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"

Quick and dirty timer functions

New timer utility functions start_timer(), show_delta(), show_elapsed()

bugfix

barf() now does not make your script exit if inside eval {}; it checks $^S and re-throws the error instead.

Historic releases

 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:

Around line 97:

Non-ASCII character seen before =encoding in 'µ'. Assuming UTF-8