Help for this page

Select Code to Download


  1. or download this
    open( USRS, "users.txt" ) or die "no users.txt: $!";
    my @emailStrings = <USRS>;  # let's just read this once
    ...
            print "deleteuser $emailString\n"
        }
    }
    
  2. or download this
    open( USRS, "users.txt" ) or die "no users.txt: $!";
    while (<USRS>) {
    ...
        }
    }
    close USRS;