When I wrote it, I intended that the first call to the constructor would return the "master" reference, subsequent calls would return weak references.
What's your reasoning for doing so?
(I can imagine why you might think you need to do so, if you've a background writing C code or maintaining awful C++ code, but I can't imagine a situation in Perl where this is necessary.)
In reply to Re: return weak reference
by chromatic
in thread return weak reference
by flipper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |