in reply to Connecting two scripts

You should also check the return value for open - if the script could not be found, not in a directory in $PATH for example, then you would not know.
And:
use warnings; use strict;

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

    No no, the first call the second, becouse it's create the file.

    I'm recheck open but can't find the way to read the input in the second script... i don't know what i doing wrong

    thk a lot