Had you been following the advice given in Perl Best Practices, you would not have fallen into this particular hole. The first item in Chapter 9 is: "Call subroutines with parentheses but without a leading &". Luckily, Chapter 9 happens to be the free sample chapter from this book so you can read why Damian offers this advice right now.
In reply to Re: Syntax over my head
by eyepopslikeamosquito
in thread Syntax over my head
by dd-b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |