in reply to Re: Finding if files exist when names randomly have letters in both upper and lower cases
in thread Finding if files exist when names randomly have letters in both upper and lower cases
On second thought, this should work as well...
use File::Glob qw(:globally :nocase); # instead of if(-f $file) { if(<$file>) {
| We're not surrounded, we're in a target-rich environment! |
|---|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Finding if files exist when names randomly have letters in both upper and lower cases
by merlyn (Sage) on Jun 22, 2005 at 16:35 UTC |