in reply to Re: grep and dereferencing an array of arrays
in thread grep and dereferencing an array of arrays
...which should make the assignment as an anonymous reference. But none of those worked any better than the bracket-less assignment. I still end up with the reference address.my $usefulans = [ grep { $$_[ 0 ] eq $answer } @$qablock ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: grep and dereferencing an array of arrays
by McA (Priest) on Sep 06, 2013 at 19:06 UTC | |
by oakb (Scribe) on Sep 06, 2013 at 19:35 UTC | |
by McA (Priest) on Sep 06, 2013 at 20:34 UTC | |
by choroba (Cardinal) on Sep 06, 2013 at 21:04 UTC | |
by McA (Priest) on Sep 06, 2013 at 21:12 UTC | |
by Marshall (Canon) on Sep 07, 2013 at 09:25 UTC |