- or download this
#!/usr/bin/env perl
...
}
dd \%columns;
- or download this
{
a => [1, 3, undef, undef, undef],
b => [undef, 4, undef, 8, undef],
c => [undef, undef, undef, undef, 9],
}
- or download this
push @{$columns{$_}}, $row->{$_} // '' for @uniq_keys;
- or download this
push @{$columns{$_}}, defined($row->{$_}) ? $row->{$_} : '' for @uniq_
+keys;
- or download this
{
a => [1, 3, "", "", ""],
b => ["", 4, "", 8, ""],
c => ["", "", "", "", 9],
}
- or download this
my $sql= new SQL::Abstract( array_datatypes => 1 );
- or download this
my $sql = SQL::Abstract::->new(array_datatypes => 1);