Help for this page

Select Code to Download


  1. or download this
    # build hash
    while() {
    ...
    # key1 is a number
    # key2 is a sequential number
    }
    
  2. or download this
        foreach $key (keys %hshFoo) {
            print "  $key => $hshFoo{$key}\n";
        }
    
  3. or download this
        foreach $key2 (keys $hshFoo{$key}) {
            ...
    ...
    Type of arg 1 to keys must be hash (not hash element) at foo.pl line
     341, near "}) "
    BEGIN not safe after errors--compilation aborted at foo.pl line 431.