Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Problem with ampersand and regex

by toolic (Chancellor)
on Dec 19, 2012 at 19:50 UTC ( #1009619=note: print w/ replies, xml ) Need Help??


in reply to Problem with ampersand and regex

Tip #1 from the Basic debugging checklist: use warnings (Possible unintended interpolation of @123). Use single quotes to avoid interpolation:

my $line = 'mail: asdf@123.com';


Comment on Re: Problem with ampersand and regex
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-11-29 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls