Here's something interesting - I added a
     print "^O: $^O\n";
before the if and got this for a result:

 >perl xx.pl <arg>
^O: cygwin
<file list>

 >xx.pl <arg>
^O: MSWin32
<file list>

It picks up the AS Perl when you don't specify which Perl due to the ftype
path.  The file list is the same in both cases, but sorted differently.

Is this your AS or Cygwin version ?   C:\Program Files\Perl\bin\perl.exe
which Perl does 'perl fileglob.pl' pick up ?  Cygwin or AS ?
Try perl -v.
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to