- or download this
push( @{$ref2array}, sort( keys( %{$obj->things()} ) ) );
- or download this
map {
push( @{$ref2array}, $_ )
} ( sort( keys( %{$obj->things() } );
- or download this
foreach ( sort( keys( %{$obj->things} ) ) ) {
push( @{$ref2array}, $_ );
}
- or download this
push(
@{$ref2array},
map { uc($_) } ( sort( keys( %{$obj->things()} ) ) )
);
- or download this
my @uppercasekeys;
foreach ( sort( keys( %{$obj->things()} ) ) ) {
push( @uppercasekeys, uc( $_ ) );
}
push( @{$ref2array}, @uppercasekeys );