Help for this page

Select Code to Download


  1. or download this
    use Storable;
    store (\@array, "/path/to/array.dat");
    my @newarray = @{retrieve("/path/to/array.dat")};
    
  2. or download this
    while(<>) {
      /^(.+)\: (.+)$/;
    ...
    foreach my $key (sort keys %hash) {
      print "$key:  ", join(", ", @{$hash{$key}}), "\n";
    }