Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

On creating hash whose keys aren't case-sensitive

by anazawa (Scribe)
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 wandering the Monastery: (15)
As of 2015-07-07 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls