Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Four part JAPH

by ghenry (Vicar)
on Apr 18, 2005 at 15:37 UTC ( #448922=note: print w/replies, xml ) Need Help??


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

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!!!

Replies are listed 'Best First'.
Re^4: Four part JAPH
by QM (Parson) on Apr 18, 2005 at 17:55 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:
    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^4: Four part JAPH
by ambs (Pilgrim) on Apr 18, 2005 at 16:05 UTC
    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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2023-03-22 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?