in reply to Re^2: using reference to subroutine
in thread using reference to subroutine
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.
|
|---|