my $found = 0; while (<$fh>) { $found = 1 if index($_, $student) == 0; } [download]
In reply to Re: regex issue by esskar in thread regex issue by Anonymous Monk