accessdenied has asked for the wisdom of the Perl Monks concerning the following question:
Looks like currently it doesn't have effect due to "if 0" at the end. I'm wondering if I can remove it. I'm tryin to understand the intention of string without "if 0" in order to decide it I need it or not. Could someone please describe in steps what is dome here and for what?eval '(exit $?0)' && eval 'exec /usr/bin/perl -wS $0 ${1+"$@"}' && eva +l 'exec /usr/bin/perl -wS $0 $argv:q' if 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What is the intention and logic of this line in the beginning of the script?
by moritz (Cardinal) on Oct 12, 2011 at 09:53 UTC | |
|
Re: What is the intention and logic of this line in the beginning of the script?
by cdarke (Prior) on Oct 12, 2011 at 10:33 UTC | |
|
Re: What is the intention and logic of this line in the beginning of the script?
by Anonymous Monk on Oct 12, 2011 at 10:20 UTC | |
|
Re: What is the intention and logic of this line in the beginning of the script?
by dd-b (Pilgrim) on Oct 12, 2011 at 19:23 UTC |