in reply to Because PHP sucks: escape to Perl.

Wouldn't it be better to use perl -x instead of perl -e and eval?

Replies are listed 'Best First'.
Re^2: Because PHP sucks: escape to Perl.
by Juerd (Abbot) on Feb 06, 2006 at 20:22 UTC

    Wouldn't it be better to use perl -x instead of perl -e and eval?

    Certainly. I forgot all about -x. Thanks for the suggestion; I've updated the snippet.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }