YAPH <yet.another.perl.hac...@gmail.com> wrote on 03/05/2010 06:57:19 PM: > It was the shell construc, eval '....' if 0; (Will this ever > execute?) > > and the > > exec /bin/perl $0 ${1+"$@"}; > > that threw me off.
YAPH: Actually, the first constructs gets read and interpreted by both shell and perl. However, Perl doesn't execute it because of the "if 0" part, which the shell, in turn, never reads because of the "exec" within the eval'd string. It's actually pretty smart, but unnecessary since there easier ways. Eric -- Eric MSP Veith <eric.ve...@de.ibm.com> Hechtsheimer Str. 2 DE-55131 Mainz Germany IBM Deutschland GmbH Vorsitzender des Aufsichtsrats: Erich Clementi Geschäftsführung: Martin Jetter (Vorsitzender), Reinhard Reschke, Christoph Grandpierre, Matthias Hartmann, Michael Diemer, Martina Koederitz Sitz der Gesellschaft: Stuttgart Registergericht: Amtsgericht Stuttgart, HRB 14562 WEEE-Reg.-Nr. DE 99369940 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/