Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Four part JAPH

by cog (Parson)
on Apr 18, 2005 at 15:23 UTC ( [id://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 :-)

Replies are listed 'Best First'.
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!!!
      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

      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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://448920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2024-04-18 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found