No need for the $int flag
Code:
sub addVoter{
open(AV,">>voters.txt");
my $addSsn="";
print "What is your name (first and last)? ";
chomp($addName=<STDIN>);
print AV "$addName:";
my $checked=0;
while (($addSsn !~ /^\d{3}-\d\{2}-\d{4}$/){
Leave a comment: