Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: array conversion to lower case

by davido (Archbishop)
on Oct 10, 2012 at 06:37 UTC ( #998149=note: print w/ replies, xml ) Need Help??

in reply to array conversion to lower case

What is the purpose? If it's for comparison, and there's a possibility of taking Unicode input, there may be a more robust answer. Consider instead using fc (fold case) if you are using Perl 5.16.x, or Unicode::CaseFold with earlier Perl versions to obtain a case-neutral basis for comparison.

There are some good articles on the topic, but the following are probably among the best resources available:

I'm probably over-thinking it though. It's possible you live in an ASCII-only world, and simply need lower case for some reason other than case-neutral comparisons, in which case, this post is irrelevant. ;)


Comment on Re: array conversion to lower case

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2015-10-04 04:34 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (98 votes), past polls