in reply to Re^2: Have perl to start another perl script
in thread Have perl to start another perl script

You can start the script and obtain the pid using a piped open.

my $pid = open KID, "| /path/to/your/perl theScript.pl" or die ... print KID $IPAddress; close KID;

I'm not sure if there are any caveats with this on your platform.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."