Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: (jeffa) Re: Question about using hash indexes with GD::Graph

by merlyn (Sage)
on Mar 20, 2001 at 21:23 UTC ( [id://65750] : note . print w/replies, xml ) Need Help??


in reply to Re: (jeffa) Re: Question about using hash indexes with GD::Graph
in thread Question about using hash indexes with GD::Graph

Any kind of push @x, .... for @y should immediately invoke that magic three-letter word, "m a p".
my $new = [ [map $_->{hour}, @data], [map $_->{count}, @data] ];

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: Re: (jeffa) Re: Question about using hash indexes with GD::Graph
  • Download Code

Replies are listed 'Best First'.
(jeffa) Re: Re: Re: (jeffa) Re: Question about using hash indexes with GD::Graph
by jeffa (Bishop) on Mar 20, 2001 at 21:26 UTC
    Man, I was *this* close to getting that. Nice! Thanks once again, Randal!

    Jeff

    R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
    L-L--L-L--L-L--L-L--L-L--L-L--L-L--