|Problems? Is your data what you think it is?|
Re^2: Printing Last Element of a line using perl memory?by dave_the_m (Prior)
|on Feb 15, 2013 at 12:53 UTC||Need Help??|
That code is bad in so many ways.
This is complete nonsense. Using an underscore as the filename makes no difference to the execution, but makes the code harder to understand. Also, you should normally use lexical filehandles. Lastly, there's no error checking on the open.
This will crash with memory exhaustion if the file is too large
With warnings enabled, that will give:
But could be even better written as