Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Hashes for counting

by ysth (Canon)
on Aug 06, 2010 at 18:29 UTC ( #853458=note: print w/replies, xml ) Need Help??


in reply to Hashes for counting

use strict;. It will give you an error and from that you will be able to see where you are accidentally changing a hash reference to a number. Without use strict; enabled, that number is interpreted as a new symbolic hash reference, which is not at all what you intend.
--
A math joke: r = | |csc(θ)|+|sec(θ)|-||csc(θ)|-|sec(θ)|| |
Online Fortune Cookie Search
Office Space merchandise

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853458]
help
Chatterbox?
[choroba]: Without totally changing the approach, I can't squeeze it more.
[Discipulus]: i'm stuck at 54 ;=( but for me is good enough
[Discipulus]: and even if i lead in primality check, i have 2 chars more than you in iEmirp nums..

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-10-20 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (260 votes). Check out past polls.

    Notices?