|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Operator overloading with returning lists?by diotalevi (Canon) |
| on Nov 30, 2008 at 08:13 UTC ( #726882=note: print w/ replies, xml ) | Need Help?? |
|
If your overloaded function was written in XS, I could imagine it might be possible to ignore the context and foricibly return multiple things. Just push everything onto the stack even though you're always in scalar context. ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||