in reply to Re: Determining what line a filehandle is on
in thread Determining what line a filehandle is on

silly goose. You know what that does? :) __LINE__ tells what line of CODE you're on, not line of the filehandle :)

eg

01: use strict
02:
03: print "I am on line ", __LINE__, "\n";
will always print
"I am on line 3\n"
  • Comment on Re: Re: Determining what line a filehandle is on