Identifying the OS in a Perl script

Colin Watson cjwatson at ubuntu.com
Thu Sep 1 21:18:32 UTC 2005


On Thu, Sep 01, 2005 at 10:58:42PM +0200, Dennis Kaarsemaker wrote:
> On do, 2005-09-01 at 17:00 +0100, Colin Watson wrote:
> > Alternatively, you could encourage users to create a /usr/bin/perl
> > symlink?
> 
> wouldn't "#! /usr/bin/env perl" work?

Only if /usr/bin/env exists in Cygwin, which I suspect it doesn't ...

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list