Help for this page

Select Code to Download


  1. or download this
    #!/bin/perl -w
    use strict;
    ...
    
    while( my($key, $value)= each %hash)
      { print "/$key/ ::= /$value/\n"; }
    
  2. or download this
    #!/bin/perl -w
    use strict;
    
    ...
    while( my($key, $values)= each %hash)
      { # the values are in @{$values}
        print "/$key/ ::= /", join( '/', @{$values}), "/\n"; }