Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Array of Hashes to Hash of arrays for SQL::Abstract

by Veltro (Hermit)
on Mar 18, 2020 at 16:27 UTC ( [id://11114435]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $i (0..$#{$data}) {
        foreach ( keys %{$data->[$i]} ) {
            $columns->{$_}->[$i] = $data->[$i]->{$_} ;
        } ;
    }
    
  2. or download this
    $columns->{$_}->[$i] = $data->[$i]->{$_} ;
    hash------^-------------------------^
    array-----------^-------------^
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found