open my $fh, '<', 'saved-cgi' or die "Can't read saved-cgi: $!"; my $cgi = CGI->new( $fh );