Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Matching with /g: Is this a bug?

by ikegami (Patriarch)
on May 29, 2013 at 20:33 UTC ( [id://1035916]=note: print w/replies, xml ) Need Help??


in reply to Matching with /g: Is this a bug?

Noone seems to have mentioned the bug is your inappropriate use of g in scalar/void context. Remove the g from the first match, and it'll work fine.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-24 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found