Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: how to use "delete" with a hash of hash

by muba (Priest)
on Jan 29, 2013 at 05:44 UTC ( #1015805=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    %hoh = (
    ...
    print "\n\nAfter delete:\n";
    print Dumper \%hoh;
    print "$a deleted!" if not exists $hoh{$a}; 
    
  2. or download this
    Before delete:
    $VAR1 = {
    ...
                         }
            };
    item2 deleted!
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-08-29 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls