in reply to redirection problem
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: redirection problem
by grizzley (Chaplain) on Jun 22, 2012 at 09:29 UTC | |
by Anonymous Monk on Jun 22, 2012 at 09:42 UTC | |
by grizzley (Chaplain) on Jun 22, 2012 at 09:47 UTC |
In Section
Seekers of Perl Wisdom