for Ex: I am having following Perl file:
test.pl & (test1.pm. , test_main.pl) they are present in different directories.
The Perl script test_main.pl call the module (sub abc()) defined in test.pm. This module intern calls test.pl using #*system ("perl test.pl");*# system call.
Now i want to return a variable back to test1.pm from test.pl how to do that?
I was trying to pass an argument to system call to collect the return value but it did not worked.
I was using following call
#*system ("perl test.pl $returnVal");*#
Please suggest...
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |