Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How do I run another program from within my Perl program

by vroom (His Eminence)
on Jan 18, 2000 at 23:56 UTC ( [id://2154]=note: print w/replies, xml ) Need Help??


in reply to How do I run another program from within my Perl program

use the system function or backticks(`) if you want to collect the output;
system "update"; my $datestr=`date`; print "Date output: $datestr\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://2154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-16 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found