Help for this page

Select Code to Download


  1. or download this
    while (<USEDPW>)
        {
    ...
    open(USEDPW, "> $usedpw") or die "crap on me for writing $!";
    flock USEDPW, 2;
    print USEDPW "$pw\n";
    
  2. or download this
    #notice we declare it OUTSIDE the loop
    my $pw;
    ...
    open(USEDPW, "> $usedpw") or die "crap on me for writing $!";
    flock USEDPW, 2;
    print USEDPW "$pw\n";