Help for this page

Select Code to Download


  1. or download this
    my @entry = split(/=/, $line, 2);
    $val{$entry[0]} = $entry[1];
    
  2. or download this
    s/\$(\w+)/exists($val{$1})?$val{$1}:die "Undefined '$1' in entry '$new
    +string' (line $.)"/eg;