Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: On creating hash whose keys aren't case-sensitive

by tobyink (Abbot)
on Feb 18, 2012 at 13:12 UTC ( #954750=note: print w/ replies, xml ) Need Help??


in reply to Re: On creating hash whose keys aren't case-sensitive
in thread On creating hash whose keys aren't case-sensitive

This sub returns undef (indicating an error) if you give it a string with more than one internal dash or underscore.

Like the Access-Control-Allow-Origin header?


Comment on Re^2: On creating hash whose keys aren't case-sensitive
Re^3: On creating hash whose keys aren't case-sensitive
by CountZero (Bishop) on Feb 18, 2012 at 22:00 UTC
    Absolutely!

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-12-18 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls