Not just "doesn't work" - it's a syntax error which should suggest to you that the animal you have by the tail is not the one you thought you had.
As a general thing we often suggest to newbies to always use strictures (use strict; use warnings;), but in this case it fails without needing them - however the advice is still good!
In reply to Re: "if" and compound statement
by GrandFather
in thread "if" and compound statement
by juliosergio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |