|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: redirection problemby Happy-the-monk (Prior) |
| on Jun 22, 2012 at 09:04 UTC ( #977801=note: print w/ replies, xml ) | Need Help?? |
|
What can be the reason, that
script.pl > output.txt
creates empty file output.txt and
perl script.pl > output.txt
creates output.txt with data produced by script.pl? Does the execution of the first command produce any errors on STDERR (the cmd/dosbox/shell/terminal)? What does the first line of script.pl look like? What kind of a shell/terminal are you using? Cheers, Sören
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||