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

NAME

Gnuplot::Builder::Tap - tap the IPC between Gnuplot::Builder and the gnuplot process

SYNOPSIS

    $ perl -MGnuplot::Builder::Tap your_gnuplot_builder_script.pl

DESCRIPTION

Gnuplot::Builder::Tap taps the IPC between Gnuplot::Builder and the gnuplot process, and it dumps the data written to the process to STDOUT. This is useful for debugging.

The tap is made by Gnuplot::Builder::Tap's import() method, so you can enable the tap by -M perl option (See "SYNOPSIS").

CLASS METHOD

Gnuplot::Builder::Tap->import()

Called when you use Gnuplot::Builder::Tap.

It sets $Gnuplot::Builder::Process::TAP package variable, so all data written to gnuplot processes are dumped to STDOUT.

POSSIBLE CHANGES IN FUTURE

Current version of import() method takes no argument, but in future it may take arguments to configure how to tap the IPC.

Current version of Gnuplot::Builder::Tap is NOT a pragma, so effect of import() method is global. In future, it may become a pragma, i.e., the effect of import() (and unimport()) methods may be confined in the lexical block.

SEE ALSO

AUTHOR

Toshio Ito, <toshioito at cpan.org>