Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Out of Memory with File::Glob

by pg (Canon)
on Oct 28, 2003 at 05:59 UTC ( #302642=note: print w/replies, xml ) Need Help??


in reply to Out of Memory with File::Glob

This is a known bug, not just redhat, I tried on windows, exactly the same problem.

To handle spaces, just use bsd_glob. For example:

use File::Glob ':glob'; use Data::Dumper; my $pattern = "C:/Program Files/*"; my @ary1 = bsd_glob("$pattern"); my @ary2 = bsd_glob("$pattern"); my @ary3 = bsd_glob("$pattern"); print Dumper(\@ary1);

Replies are listed 'Best First'.
Re: Re: Out of Memory with File::Glob
by dvergin (Monsignor) on Oct 28, 2003 at 06:14 UTC
    Confirmed. That works here, too. Thanks pg.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2021-01-21 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?