Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Incomplete Output When Printing Hash

by CountZero (Bishop)
on Aug 19, 2013 at 15:24 UTC ( #1050048=note: print w/ replies, xml ) Need Help??

in reply to Incomplete Output When Printing Hash

Are you entirely sure that all the entries in your SQL table are unique? If not, putting those not unique entries into a hash will only keep one entry per "unique" value and hence a reduction of the total number of keys.


A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Comment on Re: Incomplete Output When Printing Hash
Replies are listed 'Best First'.
Re^2: Incomplete Output When Printing Hash
by Monk::Thomas (Pilgrim) on Aug 20, 2013 at 08:35 UTC
    We can rule out uniqueness related problems due to:
    my $count = keys %myobjtdets; - hash created from query print "$count"; - results in the number 63

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-10-07 04:16 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (170 votes), past polls