Sam Vilain > Scriptalicious-1.16 > Changes.pod

Download:
Scriptalicious-1.16.tar.gz

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: Scriptalicious-1.17

WHATS NEW IN SCRIPTALICIOUS ^

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

Add missing copyright notices and license.

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
syntax highlighting: