> Hello,
>
> Can anyone please tell me how to save output (what we get after running a
> perl script) as an external file?
>

run it under a unix shell?
try:

perl a.pl > a.txt 2>&1

save all the output of a.pl to a.txt.

2>&1 means to capture the script's error output also.


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to