Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Out of Memory Error -- Possible Leak?

by graff (Chancellor)
on Dec 14, 2005 at 04:05 UTC ( #516514=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (my $i = 0; $i < scalar(@array); $i++) {
        my $subhash = $hash{$array[$i]};  # does not autovivify new $hash 
    +element
    ...
            }
        }
    }
    
  2. or download this
        next unless ( ref( $subhash ) eq 'HASH' );
        ...
    
            next unless ( ref( $subarray ) eq 'ARRAY' );
            ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-12-09 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?