Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: grep not working as expected

by ammon (Sexton)
on Oct 17, 2006 at 22:33 UTC ( #578919=note: print w/ replies, xml ) Need Help??


in reply to grep not working as expected

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.


Comment on Re: grep not working as expected
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-07-07 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls