Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: building and running a unix script with Perl

by tirwhan (Abbot)
on Jan 25, 2010 at 15:27 UTC ( #819513=note: print w/ replies, xml ) Need Help??


in reply to building and running a unix script with Perl

Here's one way

perl -e 'system(qq(bash -c "echo I am a shell script"));'

That's rather nonsensical of course, but without further details on what you want to do, and why you would want to do it this way, I can't be much more helpful.


All dogma is stupid.


Comment on Re: building and running a unix script with Perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2015-07-30 14:34 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 (271 votes), past polls