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.
In reply to Re^3: Have perl to start another perl script
by BrowserUk
in thread Have perl to start another perl script
by hakana
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |