The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re^2: Confusing warning with if/elsif/else
by sanPerl
|
|