in reply to Directing STDOUT of called perl script to a variable within a calling perl script
What is abc.pl supposed to do? Why do you think it is not working? Backticks would be the number 1 answer to your question, but you say it dosn't work. Read perldoc -q capture and come back with more information.
Just as a wag, try
Quite possibly your permissions are wrong on the script, or it dosn't have a shebang line.$my = `/home/hey/abc.pl` or die "something wrong $!\n";
|
|---|