Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: When I count, I think of numbers as...

by mr_mischief (Monsignor)
on Sep 09, 2008 at 15:57 UTC ( #710124=note: print w/replies, xml ) Need Help??


in reply to Re^2: When I count, I think of numbers as...
in thread When I count, I think of numbers as...

You really don't want to know the mnemonic my high school physics teacher gave us to remember the color codes on resistors.
  • Comment on Re^3: When I count, I think of numbers as...

Replies are listed 'Best First'.
Re^4: When I count, I think of numbers as...
by robby_dobby (Friar) on Aug 21, 2016 at 22:52 UTC
    Heh. BB.ROY of Great Britain had a Very Good Wife?

    That's what I had as a mnemonic back in school when I learnt this!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://710124]
help
Chatterbox?
[perldigious]: Quick question, is undef %hash a recommended/good way to delete an entire hash structure from memory? Or sould I be doing it some other way?
[1nickt]: The best way is to scope it tightly so it just goes away when you are finished with it.
[perldigious]: but... but... perldigious is the unvirtuous kind of lazy in this case. :-)
[perldigious]: Just kidding. Thanks 1nickt, I'll go ahead and do it the right way. An extra set of brackets and a little extra indentation isn't too much to ask.
[karlgoethebier]: perldigious: perhaps a block if you are paranoid ;-)
[choroba]: but undef %hash and %hash = () both work, too, but the first one keeps the memory allocated, while the latter makes it available for other parts of the program.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-07-21 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (335 votes). Check out past polls.