Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: running a perl file from within a perl file

by brap (Pilgrim)
on Dec 17, 2009 at 02:47 UTC ( [id://813123]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # 813119.pl:
    my @args=(0);
    my $ filename = "ABC.pl";
    @args = ("$filename com1@115200 65");
    system(@args) == 0 or die "system @args failed: $?";
    
  2. or download this
    # ABC.pl:
    print join( ' / ', @ARGV), "\n";
    
  3. or download this
    com1 / 65
    
  4. or download this
    @args = ("$filename com1\@115200 65");
    
  5. or download this
    com1@115200 / 65
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-24 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found