Also, you don't need & to call a function, and in fact should (almost) never use that call syntax.
To expand this bit, &function was the perl4 way to invoke subroutines. In perl5, &function
Function prototypes? You should (almost) never use that... see perlsub.
In reply to Re^2: String replace with function
by shmem
in thread String replace with function
by kepler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |