Help for this page

Select Code to Download


  1. or download this
    my @variable;
    for (... )  {
       ...
       undef @variable;
    }
    
  2. or download this
    for (...) {
        my @variable;
        ...
        # no manual cleanup necessary.
    }
    
  3. or download this
    foreach $filepath (get_file_list($dir)) 
    {
    ...
                ...
            }
        );
    
  4. or download this
    #my($k, $v);
    #while ( ($k,$v) = each %reference_hist ) {
    #print "$k => $v\n";
    #}
    
  5. or download this
    use Data::Dumper;
    ...
    print Dumper \%reference_hist;