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

Replies are listed 'Best First'.
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