Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: running a perl file from within a perl file

by ikegami (Patriarch)
on Dec 17, 2009 at 02:50 UTC ( [id://813124]=note: print w/replies, xml ) Need Help??


in reply to running a perl file from within a perl file

my @cmd = ($filename, 'com1@115200', '65'); system({ $cmd[0] } @cmd) == 0 or die("system @cmd failed: $?\n")
or
my @cmd = ($^X, $filename, 'com1@115200', '65'); system({ $cmd[0] } @cmd) == 0 or die("system @cmd failed: $?\n")

Log In?
Username:
Password:

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

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

    No recent polls found