in reply to passing the parameters from one perl code to another.

Are you trying to get 2 different running processes talking or do you just want to interface with some external Perl code in one running instance?

If the latter, consider creating a Perl module and 'use'ing it in the main script. You could also make a system call or even use the 'eval' function.

If the former, then previous replies make some good suggestions. You can also check out POE.
  • Comment on Re: passing the parameters from one perl code to another.