Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Out of Memory with File::Glob

by pg (Canon)
on Oct 28, 2003 at 05:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://302642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-23 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found