Somehow the \ in this case doesn't do what I need.my %h = ( 'a1' => 1, '001' => 1, '993' => 1, 'd' => 1, 'i' => 1) ; my $arr_ref = \(grep ( /[[:alpha:]]/, (keys(%h)) )) ;
In reply to need an array ref from grep by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |