Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    #
    ...
    use vars qw( %hash );
    use strict;
    use Persistence 'test.dat';
    
  2. or download this
    my ($k, $v, $n);
    
  3. or download this
     (($k, $v) = each %hash) {
        $n++;
        print "$n: $k => $v\n";
    ...
            );
    
    END { persistent '%hash'; }