Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
There's more than one way to do things
 
PerlMonks  

Re: Memory issue with large array comparison

by Cristoforo (Chaplain)
on May 25, 2012 at 01:10 UTC ( #972346=note: print w/ replies, xml ) Need Help??


in reply to Memory issue with large array comparison

Just to point out, in your code

my @list = grep { my $x = $_; not grep { $x =~ /$_\w+$/ } @safe_list } @pathnames;

the first grep from the left should probably be a map instead.

Chris

Update: Didn't read the code correctly.


Comment on Re: Memory issue with large array comparison
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2014-04-16 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (418 votes), past polls