Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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]
Corion is mildly surprised as some different toy projects coagulate into a useful application. I've been toying with writing a Meetup wrapper and also have been toying with synchronizing events between (CalDAV) calendars, and now that means I can ...
[Corion]: ... easily* synchronize my personal calendar with Meetup and import stuff from Meetup there
[Corion]: * Code not yet written, some restrictions may apply

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-02-23 09:31 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (343 votes). Check out past polls.