Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Unexpected persistence with each hash

by bwana147 (Pilgrim)
on Jul 01, 2003 at 09:45 UTC ( [id://270428]=note: print w/replies, xml ) Need Help??


in reply to Unexpected persistence with each hash

Er, what about:
foreach ( keys %foo ) { printf "%s => %s is gone.\n", $_, delete $foo{$_}; }

--bwana147

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (None)
    As of 2024-04-25 00:35 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found