in reply to Re: Confusing warning with if/elsif/else
in thread Confusing warning with if/elsif/else
>>Yes, because the problem is with the 'if' statement (the elsif is part of the if statement).
>>
You are correct. Perl considers if..elsif..else as a complete if box. Hence it is pointing towards line number of 'if'.
I Didn't know this, this is a good tip for debuggers indeed