> Can someone tell me how do I execute a command line in windows using perl?

perldoc -f system
perldoc perlop      (look for "qx" under Quotes and Quote-like operators)

E.g.

my $output = `do command`;

or

system"the command";

These may raise errors, which you ***SHOULD*** CHECK for.  Don't assume they worked.

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to