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.
www.com | www.net | www.org
Hope and Pray
Hash & Salt using Acme::XKCD::DebianRandom
Hash & Salt using other rng algorithms
Printouts secured with physical locks
One of a million Post-Its sticking on the monitor
A piece of paper taped to the backside of the keyboard
Results (56 votes). Check out past polls.