Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://954718]
Approved by Corion
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: (8)
As of 2016-07-28 07:32 GMT
Find Nodes?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?

    Results (253 votes). Check out past polls.