I meant $_[0], the yes I know was for writing stupid code.
The error was because I have to hand copy the code from one pc to another because one doesn't have internet.
The biggest error being not that of using @_[0] instead of $_[0], which is valid syntax and fundamentally does the right thing, but that of not putting the "yes I know..." part behind a comment sign, which does not.
In reply to Re^3: using reference to subroutine
by blazar
in thread using reference to subroutine
by kotoko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |