Hi Monks,
I have to run a perl script within a main script. I want the standard output of the called perl script to be written in a variable defined within the calling script.
I have tried using this construct:
$my = `/home/hey/abc.pl`;This is not working. Any suggestions.
Thanks
In reply to Directing STDOUT of called perl script to a variable within a calling perl script by uday_sagar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |