Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: what does this piece of code mean?

by kennethk (Abbot)
on Apr 22, 2013 at 14:43 UTC ( #1029896=note: print w/replies, xml ) Need Help??

in reply to what does this piece of code mean?

Essentially, this code is a little misdirection to encapsulate a Perl script inside a shell script. When it gets to the exec line, the shell re-runs the script file with perl. -x tells perl to search the file for the first occurrence of a #! that also has the word perl, and so fast forwards past all the shell script. A read-through of -S would probably also be informative, and should contain some familiar-looking code.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^2: what does this piece of code mean?
by skyworld_chen (Acolyte) on Apr 23, 2013 at 05:45 UTC

    Hi all,

    thanks for all of your kind replies

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029896]
[Discipulus]: my backpack is ready for two nights in the mountains!
[Corion]: Discipulus: In the mountains during winter?
[choroba]: SHAttered
[Discipulus]: yes but in a little house with fireplace; 2 friends and lot of beverages..
[Corion]: Discipulus: Aah, so it's not really walking through quick-changing weather

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-02-24 09:10 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (353 votes). Check out past polls.