in reply to Re: Re: Re: filtering file names to be added to an array...maybe.
in thread filtering file names to be added to an array...maybe.
Running this on linux yields this output:#!/usr/bin/perl -w use strict; use Data::Dumper; my @files = glob('*.dat'); print Dumper(\@files);
On Windows 98, you get the following:$VAR1 = [ 'lc.dat' ];
$VAR1 = [ 'lc.dat', 'uc.DAT' ];
The problem here is that Windows is case insensitive, but case preserving. This could be a potential problem if you are expecting the same output from glob on both platforms.
----
Coyote
|
|---|