Keep It Simple, Stupid | |
PerlMonks |
Re^2: Confusing warning with if/elsif/elseby sanPerl (Friar) |
on Dec 09, 2005 at 06:50 UTC ( [id://515468]=note: print w/replies, xml ) | Need Help?? |
>>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
In Section
Meditations
|
|