j1n3l0 has asked for the wisdom of the Perl Monks concerning the following question:
My question is what exactly is going on there (especially here: $0 ${1+"$@"}) and how important is it?#!/software/perl-5.8.8/bin/perl -w eval 'exec /software/perl-5.8.8/bin/perl -w -S $0 ${1+"$@"}' if 0; # not running under some shell
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Executable perl programs
by Corion (Patriarch) on Mar 23, 2008 at 19:51 UTC | |
by bohrme (Scribe) on Mar 24, 2008 at 16:09 UTC | |
by Corion (Patriarch) on Mar 24, 2008 at 16:29 UTC | |
|
Re: Executable perl programs
by CountZero (Bishop) on Mar 23, 2008 at 19:34 UTC | |
by j1n3l0 (Friar) on Mar 23, 2008 at 19:49 UTC |