in reply to Referencing the null file handle, <>

Run your program redefining STDIN as the file you're interested in (perl Script.pl <input.txt).
  • Comment on Re: Referencing the null file handle, <>