Help for this page

Select Code to Download


  1. or download this
    if ( my $lost = @snapshot_listing - keys %snapshot_roster ) {
        warn sprintf( "There were %d bad entries in %d input records\n",
                $lost, scalar @snapshot_listing );
    }
    
  2. or download this
    my @bad_entries;
    sub nfg { push @bad_entries, $_; return }
    ...
    } @snapshot_listing;
    
    if ( @bad_entries ) { warn "oh well... win some, lose some.\n" }