Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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 taking refuge in the Monastery: (8)
As of 2015-08-03 17:15 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (47 votes), past polls