Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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??

Help for this page

Select Code to Download


  1. or download this
    my @cmd = ($filename, 'com1@115200', '65');
    system({ $cmd[0] } @cmd) == 0
        or die("system @cmd failed: $?\n")
    
  2. or download this
    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 scrutinizing the Monastery: (3)
As of 2024-04-20 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found