Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How to run bash file from perl

by ciderpunx (Vicar)
on May 17, 2011 at 15:39 UTC ( [id://905304]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        @args = ("learn.sh", "arg1", "arg2");
        system(@args) == 0
            or die "system @args failed: $?"
    
  2. or download this
    my $output = qx/learn.sh arg1 arg2/
    

Log In?
Username:
Password:

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

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

    No recent polls found