in reply to New File Not Working
The first step is to ask Perl to tell you about errors:
or die "Couldn't open input file 'PSR_Date.txt': $!";
or die "Couldn't create output file 'PSR_OutputDate.txt': $!";
I did do this in regards to verifying the files. I removed the code and everything worked fine.
I ended up finding my mistake, I was missing "my" in front of "$line"
Thank you for the help.
See also "open" Best Practices.
A combination of the above
Results (152 votes). Check out past polls.