Perl 5.6 does not have that feature
Testing 5.005_03 shows that even it had the feature of $obj->$code_ref( ... ), despite the 5.6 documentation not mentioning it:
$ perl5.00503 -e '$cr= sub { warn "( @_ )\n" }; "main"->$cr( "bar" )' ( main bar )
- tye
In reply to Re^4: OOP: ->Coderef for calling Private Methods (5.6?)
by tye
in thread OOP: Obj->Coderef for calling Private Methods
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |