Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://819513]
help
Chatterbox?
[Lotus1]: now I'll be sent to re-education camp or something
[stevieb]: relocate Lotus1 to the brig, straight away!
[erix]: let's do an education simulation
[stevieb]: You could just play dumb... "huh? There was no mention of 'fishing' in the email!"
[erix]: you could say you were part of the simulation
[stevieb]: I'd take full responsibility myself... "man, I was so hung over I could barely read what the email said!"
[zarath]: "Smee, the boo-box..."

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-05-24 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?