Help for this page
use strict; use warnings; ... my @questions = <QUESTFILE>; # slurps up the entire file close(QUESTFILE);
# this opens the answers file for append ... } close(ANSFILE); exit;