jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
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)) )) ;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: need an array ref from grep
by davido (Cardinal) on Jun 16, 2006 at 15:03 UTC | |
Re: need an array ref from grep
by jeffa (Bishop) on Jun 16, 2006 at 15:03 UTC | |
Re: need an array ref from grep
by jhourcle (Prior) on Jun 16, 2006 at 16:54 UTC | |
Re: need an array ref from grep
by monkey_boy (Priest) on Jun 16, 2006 at 15:04 UTC | |
Re: need an array ref from grep
by orderamidchaos (Initiate) on May 29, 2013 at 00:41 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |