Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 about the Monastery: (16)
As of 2015-07-29 14:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls