[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [Fun With Perl] which perl



On Thu, Jun 10, 1999 at 06:49:12PM -0700, Eric Raible wrote:
> Another cute (Win32) one-liner:
> 
> grep( -e "$_/perl.exe", split( ";", $ENV{PATH} ) )

Windows has no "which" or "type"?

Wouldn't that be -x, BTW?  I dunno if it makes a real difference on
Windows ("permissions?  What's that?")

-- 

Michael G Schwern                                           schwern@pobox.com
                    http://www.pobox.com/~schwern
     /(?:(?:(1)[.-]?)?\(?(\d{3})\)?[.-]?)?(\d{3})[.-]?(\d{4})(x\d+)?/i

==== Want to unsubscribe from this list? (Don't you love us anymore?)
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org