Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    b=6
    c=
    d=7
    
  2. or download this
    $VAR1 = {
              'a' => '5',
              'b' => '6',
              'd' => '7'
    
  3. or download this
    while (<DATA>) {
        chomp;
        my ($k, $v) = split /=/;
        $info{$k} = (length $v) ? $v : 666;
    }