- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
my $data = [
{ one => 1, two => 2 },
{ two => 2, three => 3 },
{ three => 3, four => 4 }
];
my @datakeys = keys %{{ map { %{ $_ } } @{ $data } }};
print Dumper({ 'datakeys' => \@datakeys });
Elvenfighter 08.03.2013 11:01 # 0
guest 08.03.2013 13:11 # +2
roman-kashitsyn 08.03.2013 14:21 # 0