I've just released a newer version. Should be mirror on CPAN is a
day or three.
On Thu, Dec 05, 2002 at 08:38:38PM +0100, Enrique Castilla wrote:
> I'm working with your DBI::Shell module:
>
> I need to test a Teradata application made of stored procedures and
> macros. I think your DBI::Shell module may be a good solution for
> making automated tests in this form:
>
> 1.- Adding the functionality of read/write commands/results from/to an
> input/output filehandle distinct of STDIN/STDOUT.
load/save handles external files ... I've also added a spool command (using
IO:Tee to send output to a file(s) and STDOUT.
The tests (see the CPAN release of DBI::Shell) do batch interaction with the
different methods, however the results are normally just sent to STDOUT.
> 2.- Give the user-tester a thingy (named $CURSOR for example) that
> permits him iterate over $sh->{rhistory} (this permits to get rows
> obtained in previous commands and reuse them to execute some code
> against the SGBD with the /perl command).
Would you provide an example or two on what you're looking for here?
There isn't any method (yet) to easily modify the current buffer, nor
have the commands interact with each other.
> I've fixed your Shell.pm for 1, but no for 2 and I'm asking if you are
> planning to make a new release with something like this.
Patches are welcomed!
Thomas
--
Thomas A. Lowery
See DBI/FAQ http://www.xmlproj.com/cgi/fom.cgi