in reply to Re: Re: With apologies to J.R.R
in thread With apologies to J.R.R

FWIW, I got an error when I ran it with $ ./obfu.pl, but got a LOTR quote when I ran it with $ perl ./obfu.pl. Weird.

Replies are listed 'Best First'.
Re 4:(maverick) With apologies to J.R.R
by maverick (Curate) on Nov 06, 2001 at 01:13 UTC
    Two possibilities
    • You don't have the execute bit set on obfu.pl. 'chmod u+x obfu.pl'
    • Your perl interpreter is some place other than /usr/bin/perl

    /\/\averick
    perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"

      I found there were a bunch of ^M (DOS newlines) which I didn't see. One was before the shebang line, so I guess it was trying to execute as a `sh` script when I did `./obfu.pl`, but didn't care when I put `perl ./obfu.pl`. Whee!