Help for this page

Select Code to Download


  1. or download this
    my %hash;
    while (<DATA>) {
    ...
    foreach my $key (keys %hash) {
        print "The $key is: ", join(', ', @{$hash{$key}}), "\n";
    }
    
  2. or download this
    use Set::Scalar;
    
    ...
              join("\n\t", $hash{$key}->members()),
              "\n";
    }