I found this code in a script right after the she-bang line:

eval 'exec /usr/bin/perl -T -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell

What is it doing?

Its like its executing itself again, but why?

What the heck is: ${1+"$@"} ??

Wouldn't the eval never get done because of the if 0; ??

So why eval a piece of code that willnever be eval'ed ?


Thanks!

Lee.M - JupiterHost.Net

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to