|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Overloading for List Contextby jmcnamara (Monsignor) |
| on May 31, 2002 at 10:55 UTC ( [id://170735]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
From stepping through the code in the debugger it seems that wantarray() always returns false in the overloading sub. It seems that the overloaded operator is always called in a scalar context. I don't know why though.
--
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||