Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Trouble with Transliterate Function

by jwkrahn (Monsignor)
on Aug 29, 2013 at 03:00 UTC ( #1051348=note: print w/ replies, xml ) Need Help??


in reply to Trouble with Transliterate Function

substr( $mask_input, $lastEnd, $start ) =~ tr[\x00-\xff][N];

You could write that tr expression more simply as:

substr( $mask_input, $lastEnd, $start ) =~ tr//N/c;


Comment on Re: Trouble with Transliterate Function
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-09-30 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (375 votes), past polls