in reply to Re: filehandle in warning not what I expected...
in thread filehandle in warning not what I expected...

Thanks for the input - you're right, it's inefficient, I will follow Corian's advice and read the file into a hash.

But what really confused me is that the warning referenced the interface file and not the actual data file that the undef field was parsed from...

  • Comment on Re^2: filehandle in warning not what I expected...

Replies are listed 'Best First'.
Re^3: filehandle in warning not what I expected...
by spstansbury (Monk) on Dec 27, 2010 at 21:57 UTC

    Or it's simply showing the last filehandle that I read from...

      Right. Perl isn't tagging any values with the source it came from; let alone undefined values. In fact, if it came from a file, it has to be defined.