Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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: (11)
As of 2015-01-28 23:16 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (227 votes), past polls