What makes you think you need to overload stringification? If you do:
then $func is a code reference, and you can do
You don't need $func to be a string.
In reply to Re: Method chain object with easy syntax
by japhy
in thread Method chain object with easy syntax
by ambrus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |