in reply to Execute a Perl code without ".pl" extension

For Windows you'll need to add ";.pl" to the PATHEXT environment variable. (given that the .pl extension is associated with the perl executable, which is always the case with a normal Active Perl installation.)


holli, /regexed monk/
  • Comment on Re: Execute a Perl code without ".pl" extension

Replies are listed 'Best First'.
Re^2: Execute a Perl code without ".pl" extension
by liverpole (Monsignor) on Mar 11, 2006 at 22:58 UTC
    Thanks holli, for that information!

    When I saw the title of this node, my first thought was that it would answer a question I, too, have been having, ever since installing Perl on this new laptop.  It seemed natural to assume the question was related to running on Windows ... but I had to read down to the last of the messages before I found the only one which applied to my situation ... yours.  Danke sehr ;)


    @ARGV=split//,"/:L"; map{print substr crypt($_,ord pop),2,3}qw"PerlyouC READPIPE provides"