in reply to Anyone know how to get cmd line perl?

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on Re: Anyone know how to get cmd line perl?

Replies are listed 'Best First'.
Re: Re: Anyone know how to get cmd line perl?
by impossiblerobot (Deacon) on Apr 18, 2002 at 22:29 UTC
    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
      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!