Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Problem with ampersand and regex

by toolic (Bishop)
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';

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009619]
help
Chatterbox?
[shmem]: moin Corion, karlgoethebier. I stumbled over <<>> occasionally on the p5p mailing list
[Discipulus]: not noticed
[karlgoethebier]: sometimes rereading manages is helpful ;-) at least for me...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-07-21 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.