in reply to Re: Hello im new to programming i need help
in thread Hello im new to programming i need help

open FILETWO, "$initialfile2" or die "cannot open $initialfile2 for read\n";

In addition:

Like this:

open my $INFILE, '<', $fname or die "Couldn't open $fname: $!";