ok +Some::Package::Foo->a_method_call($var), 'test succeeded';
I'm told that the plus gives the perl interpreter a hint about the sub called 'ok' that it's not a method in Some::Package::Foo.
Why is that desirable?
Is this syntax documented anywhere?
In reply to What does a plus mean before a package name? by will_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |