and it complains that foo is a bareword, and makes me write the call as foo() instead. Now, doesn't Perl know all the defined functions on an earlier pass? Under what circumstances will it not know the name is a function?use strict; ... ... foo; ... ... sub foo { ... }
—John
In reply to Forward-referenceing subs by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |