Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

On creating hash whose keys aren't case-sensitive

by anazawa (Beadle)
on Feb 18, 2012 at 07:43 UTC ( #954718=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package main;
    use CGI qw(header);
    ...
    # loads plugins
    
    print header( $header_ref );
    
  2. or download this
    $header_ref = {
        'content-length'  => 1234,
    ...
        '-Content-Length' => 1234,
        '-Content_Length' => 1234,
    };
    
  3. or download this
    # plugins/foo
    package foo;
    $main::header_ref->{'-status'} = '304 Not Modified';
    
  4. or download this
    # plugins/bar
    package bar;
    $main::header_ref->{'Status'} = '404 Not Found';
    
  5. or download this
    # plugins/foo
    package foo;
    ...
    
        return $key;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (18)
As of 2014-07-14 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (262 votes), past polls