Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: grep { $var } @arr

by igelkott (Priest)
on Jul 17, 2014 at 15:02 UTC ( [id://1094073] : note . print w/replies, xml ) Need Help??

in reply to Re: grep { $var } @arr
in thread grep { $var } @arr

eval $pat

Thanks! I feel like a total fool but it's worth having such a simple fix.

This works on my overly complex, multi-dimensional problem as well.