Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        }
        return \%hash;
    }
    
  2. or download this
    sub f
    {
    my(%h,$y);my$k=my$x=shift;while($y=shift){if($y eq'=>'){pop@{$h{$k}};$
    +k=$x;$y=shift;}push(@{$h{$k}},$y);$x=$y;}return\%h;
    }