If you'd had warnings on, perl would have told you what you were doing wrong.
Always:
daveuse strict; use warnings;
In reply to Re: A missleading sub
by Not_a_Number
in thread Trouble with flow control
by eoin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |