2009/11/13 Subhashini <subhashinibasavar...@gmail.com>:
> i am trying to execute unix commands using perl.I am doing this using *System
> command.*
> Could i know how i could r*edirect the output of that command onto a log
> file either by using a perl script or may be using command line arguments.*
> Please do help me.

See perldoc -q STDERR
 or
http://perldoc.perl.org/perlfaq8.html#How-can-I-capture-STDERR-from-an-external-command?

HTH,
Dp.

-- 
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