Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 (Friar) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-05-27 22:40 GMT
Find Nodes?
    Voting Booth?