in reply to Connecting two scripts

Maybe you should consider Turning a script into a module. There are a number of advantages to that including code reuse, less code duplication, the possibility to unit test, better error and exception handling, etc.

See Making Perl Reusable with Modules (perl.com article) and perlmod for more.

--
Andreas

Replies are listed 'Best First'.
Re^2: Connecting two scripts
by madox (Novice) on Aug 15, 2007 at 17:39 UTC

    Yes, sure, but it's a test laboratory to discover how take input that was sent by other program.

    thk U very much