Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Four part JAPH

by cog (Parson)
on Apr 18, 2005 at 15:23 UTC ( #448920=note: print w/ replies, xml ) Need Help??


in reply to Re: Four part JAPH
in thread Four part JAPH

Problem solved (I think), thanks to Jody Belka (knewt) on #perl.

ghenry, the file must include the #! line :-)


Comment on Re^2: Four part JAPH
Re^3: Four part JAPH
by ghenry (Vicar) on Apr 18, 2005 at 15:37 UTC

    I'm a Linux junkie, but I thought on Windows, you always had to just have the code in a text file and run it with:

    perl textfile

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!
      Don't know if there are other ways. But in this case cog uses the first line to extract the 'Perl' word and that's why the code needs it.

      Alberto Simões

      I'm a Linux junkie, but I thought on Windows, you always had to just have the code in a text file and run it with:
      There's also the ASSOC and FTYPE commands for Windoze:
      ASSOC .pl=PerlScript FTYPE PerlScript=perl.exe %1 %*

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of

Re^3: Four part JAPH
by olus (Curate) on Feb 06, 2006 at 02:13 UTC
    Haven't tried to de-obfuscate it (yet), but why not the use of $^X instead of the mandatory first line?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://448920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2014-08-27 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls