Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: small help with map function

by Hena (Friar)
on Jul 04, 2005 at 07:34 UTC ( [id://472155]=note: print w/replies, xml ) Need Help??


in reply to small help with map function

First use '' in an example, where you don't want to be bitten by translation eg. $line in this.

Second. Why use such in obscure map line when this will do the job nicely.
$line=~s#(\d+)#<lr=C$1>$1</lr>#g;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-29 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found