Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by tobyink (Canon)
on Feb 18, 2012 at 13:12 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://954750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found