Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Do you know where your variables are?
 
PerlMonks  

Re: running a perl file from within a perl file

by brap (Pilgrim)
on Dec 17, 2009 at 02:47 UTC ( #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
Node Status?
node history
Node Type: note [id://813123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-04-18 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (464 votes), past polls