in reply to Re: A new perl {cough} feature?
in thread A new perl {cough} feature?
use Data::Denter; my @matrix = (); $matrix[2]->[3]= "What's goin on?"; print "Before grep:\n", Denter(\@matrix); #print grep{ /Huh?/ }@$_ for @matrix; print map { grep{ /Huh?/ }@$_ } @matrix; print "\nAfter grep:\n", Denter(\@matrix);
|
|---|