P is for Practical | |
PerlMonks |
Re: Strange finish!!by TOD (Friar) |
on Nov 07, 2007 at 12:52 UTC ( [id://649472]=note: print w/replies, xml ) | Need Help?? |
1 is - according to perl, which is what we're presumably talking about here - a true value. hence the condition if (1) will always be fulfilled. from this follows that in your code, which is probably worth being ages old, the last line print "Normal finish\n"; will never be executed.
-------------------------------- masses are the opiate for religion.
In Section
Seekers of Perl Wisdom
|
|