For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > July 2006 > sending output to file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author sending output to file
Irfan Sayed

2006-07-27, 6:57 pm

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.




Beginner

2006-07-27, 6:57 pm

On 27 Jul 2006 at 22:20, Sayed, Irfan (Irfan) wrote:

> I need to send / print / write the output of one command to a file
> through perl script
>
> can anybody plz help.


deja vu...didn't I see this 2 hours ago!

perldoc -q system

or

perlfaq8#how_can_i_capture_stderr_from_a
n_external_command
Mumia W.

2006-07-27, 6:57 pm

On 07/27/2006 09:20 AM, 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.
>
>
>
>


The Perl documentation which you've already read shows you how
to do this. As reminders, look up these:

perldoc perlop
perldoc -f open


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com