Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Bucketing,Slicing and Reporting data across multiple dimensions

by Voronich (Hermit)
on Aug 17, 2011 at 18:37 UTC ( #920750=note: print w/ replies, xml ) Need Help??


in reply to Re: Bucketing,Slicing and Reporting data across multiple dimensions
in thread Bucketing,Slicing and Reporting data across multiple dimensions

Thanks very much! This looks remarkably close to what I'm looking for. Debugging now. (It's complaining about that "push" not referencing an array ref.)

Me


Comment on Re^2: Bucketing,Slicing and Reporting data across multiple dimensions
Re^3: Bucketing,Slicing and Reporting data across multiple dimensions
by blue_cowdawg (Monsignor) on Aug 17, 2011 at 18:47 UTC

    Doh!!! It should read:

    push @{$buckets->{$f[1]}->{where}},$f[0];


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      Ah. Domo o/
      Me
      The only other modification I made was:
      printf "%s\t%d\n", $key,$buckets->{$key}->{count};
      since I don't actually need the articulated list of IDs unless they're called for. The resulting list is really quite interesting. Almost all impact occurs across EVERY ID. But several only have impact on 3 or 4. Quite telling. Thanks again o/
      Me

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2014-11-01 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    If a safe, affordable anti-ageing treatment that extended life indefinitely were to become available, would you take it?



    Results (3 votes), past polls