I'm not sure what you mean, $c_method isn't different in this respect to the other approaches you have proposed.
For chained method calls you need to return the object in intermediate calls, no matter which approach you use.
Maybe you should show us some real code to make things clearer.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^3: Optimizing non-alphanumeric method calls
by LanX
in thread Optimizing non-alphanumeric method calls
by trizen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |