Sayed, Irfan (Irfan) wrote:
Hi All,
I need to send / print / write the output of one command to a file
through perl script
can anybody plz help.
Regards
Irfan.
Hope this helps
perl -e 'print `command > file`;'
Example:
perl -e 'print `ls -l > output`;'
--
Prabu.M.A
When I was born I was so surprised
I didnt talk for a period and half
-Gracie Allen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>