Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Removing Special Characters

by herveus (Parson)
on Nov 01, 2011 at 12:47 UTC ( #935103=note: print w/replies, xml ) Need Help??


in reply to Re: Removing Special Characters
in thread Removing Special Characters

Howdy!

Step 1 (alternate): Define the set of characters that are not "special".

It may be simpler to define the characters you want to keep rather than the ones to exclude. See also the tr///dc solution above.

yours,
Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935103]
help
Chatterbox?
[stevieb]: mlx: That's easy to have done in that context. For those who don't know, it converts itself into the current sub name, much like __PACKAGE__ translates into the current package name (or class)
[LanX]: ref! not name
[marioroy]: Hi all, am looking up __SUB__. Interesting.
[marioroy]: That's cool.
[marioroy]: Thanks. Have learned a new thing in Perl.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2017-05-24 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?