in reply to Re: Anyone know how to get cmd line perl?
in thread Anyone know how to get cmd line perl?

Not true. Not only does Rex(Wrecks)' solution work, but if you add (for example) '.PL' to the PATHEXT environmental variable in Win2k (and, I assume, XP) then you can just type 'script' without the '.pl', and it will execute it.

(Of course I still (mentally) associate the '.pl' extension with the old Perl libraries; my executable Perl scripts end in '.plx'.)

Update: For Win9x machines, pl2bat (as suggested by jmcnamara) is a much better solution.

Impossible Robot
  • Comment on Re: Re: Anyone know how to get cmd line perl?

Replies are listed 'Best First'.
Re: Re: Re: Anyone know how to get cmd line perl?
by Rex(Wrecks) (Curate) on Apr 18, 2002 at 22:43 UTC
    Ahh yes, I forgot to mention PATHEXT, good addition.

    I don't use it because I have tab-completion enabled in my Win2K/XP machines and I don't use Win9X anymore. Thanks for the catch :)

    "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!