in reply to Re: Handling STDERR and STDIN in Perl
in thread Handling STDERR and STDIN in Perl
Thanks a lot Jeffa:
But the program still does not wait for STDIN.
Consider $cmd = /home/script.pl
where:
script.pl contains:
#!/usr/local/bin/perl
$a = <STDIN>;
print $a;
Here the program doesn't wait for STDIN. This is my requirement.
Thanks
Tony