Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: how to substitute '@' in line

by snape (Pilgrim)
on Apr 09, 2012 at 00:48 UTC ( [id://964053]=note: print w/replies, xml ) Need Help??


in reply to how to substitute '@' in line

Are you substituting @ to /@ or separating the id and domain name. This might give you some hints:

my $line = 'abc.xyz@lmnop.com'; print $line,"\n"; $line=~s/($1)@($2)/$1\t$2/g; print "\n line is $line";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-20 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found