- the test if we have nroff or perldoc install has been changed
- a new test script (10_Stat.t) fits with cygwin
- a better _dieHook(), will not Log() within eval
- tests adapted to perl, v5.10.0 built for darwin-thread-multi-2level
- fix in signal handling
- some bug fixings in test code
- new time format in Now({diff=><time>}) available
time may be an epoch seconds value
or any string parseable by Time::ParseDate
- new parameter Now({diff=><time>})
- bug fixing in test t03_Exit
- new function KeyMap()- read/write key=>key=>value structures from/to CSV files
- new function Stat() - like Dir() but with stat() info for each file
- File() has been enhanced to start a callback during read phase
- test t/6_Table needs no longer eq_array()
- new function Menue() (jump controller and data editor/store)
- Now() can handle offsets now
- same as 0.16 with additional tests
- new function Now()
- new function Now('strftime-format')
- automatic usage message if any errors on the command line
- Script::Toolbox->new() is valid yet (no command line processing)
- new function System()
- new function File( "| /bin/cat", "Hello World" )
0.12 fixes a little mistake in the POD section of Script::Toolbox
(nothing dangerous :-)
use UNIVERSAL qw(isa);
=> cause an error on RedHat. Version 0.11 comes without usage of UNIVERSAL.
This version fixes some minor bugs in the 'Usage' message part.
Optionaly options and mandatory options with a default value will
be displayed yet like '[-option <value>] - the description'.
This module is intended to make the life a litle bit easier for all of us
who have to write daily a "small" script. Every time the same procedure,
the script needs some options, a usage message, deals with some files and
directories, needs a logfile and so on. Before you can say knife the "small"
script will become a "big" script.
This module offers:
- Mandatory and optionaly commandline options (based on GetOpt::Long).
- Automated generation of usage messages.
- Automated display of the online manual (-help).
- Simple read/write of entire files to/from memory.
- Simple read of directory listings.
- Simple logging .
- Automated logging of criticaly exceptions.
- Simple automated formatting of tabular data like CSV or such you can get.
from selectall_arrayref() and selectall_hashref() from the DBI module.
- Simple usage of temporary files.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
A example.pl script demonstrates some of the features.
DEPENDENCIES
This module requires these other modules and libraries:
IO::File
IO::Dir
File::stat;
Data::Dumper;
Fatal
UNIVERSAL
Getopt::Long
Exporter
COPYRIGHT AND LICENCE
Copyright (C) 2002-2004 Matthias Eckardt, eckardt & braun GmbH
matthias.eckardt@link-up.de
http://www.link-up.de
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.