|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^2: A little overloading conundrumby syphilis (Archbishop) |
| on Mar 07, 2026 at 14:26 UTC ( [id://11167415]=note: print w/replies, xml ) | Need Help?? |
|
There's nothing I can think of and the documentation suggests it's not something that is easy to do. Yes - the first point I read in that link to the documentation pretty much kills all hope: I suppose (untested) I could do: and that would at least call module A's oload_minus() subroutine .... which would then be structured to de-reference the first argument and return the intended result. But that solution is no more practical than the alternative you provided. Thanks for the reply. I had, of course, consulted the overloading docs but had stopped reading before reaching the bit to which you linked. It's not the end of the world if I have to modify module B. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||