Help for this page

Select Code to Download


  1. or download this
    $x = ~ /regex/;
    %hash = map { "\L$_", 1 } @array;
    
  2. or download this
    $hash1 = { a => 1 };
    $hash1{b} = 2;
    # $hash1{a} == 1, right?  No?
    
  3. or download this
    foreach (@foo_list) {
        my $x = "blah $_ blah";
    ...
        }
        more_with( $foo );
    }