in reply to Re: Line Number Confusion
in thread Line Number Confusion

No, $failure is being set to one for a reason later in the code and it works fine. How do I get the line number from that though? I'm confused. Will:

 my $line = <FH>

set $line to the current line number? Is there any way to use $. with this?