We don't bite newbies here... much | |
PerlMonks |
Re: grep not working as expectedby ammon (Sexton) |
on Oct 17, 2006 at 22:33 UTC ( [id://578919]=note: print w/replies, xml ) | Need Help?? |
I expect perl is just not DWIM-ing your method call in the regex:
/$q->param('report_type')/ I think perl's regex patterns are similar to a qq() string in regards to interpolation (i.e. you can't interpolate function calls), but I can't immediately find any documentation to back up that assertion.
In Section
Seekers of Perl Wisdom
|
|