Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Legacy Data Files on a Case-sensitive File-system

by almut (Canon)
on Jan 21, 2010 at 00:30 UTC ( #818598=note: print w/replies, xml ) Need Help??


in reply to Legacy Data Files on a Case-sensitive File-system

File::Glob has a :nocase option:

use File::Glob qw(:nocase); my @files = <[f]oobar>;

would return whatever is found in the filesystem, i.e. any of "foobar", "Foobar", FooBar", etc.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2019-03-23 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (114 votes). Check out past polls.

    Notices?