Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
[rajesh_perl]: thanks for editing it
beech testing firefox 52.0.1
beech me me me me
beech mi
beech eieie
beech .oO( *you* don't exist, I'm only messaging to *me* self),
[beech]: *me
beech oh my *me my*

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-03-28 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (327 votes). Check out past polls.