Help for this page

Select Code to Download


  1. or download this
    @keys = keys{%hash};
    foreach $key (@keys)
    ...
    }
    sort(@values);
    print "@values\n";
    
  2. or download this
    Can't use subscript on private hash at foo.pl line 123, near "$key}"
    (Did you mean $ or @ instead of %?)
    BEGIN not safe after errors--compilation aborted at foo.pl line 123.