diff options
author | Daniel Chetlin <daniel@chetlin.com> | 2000-09-17 22:05:40 -0700 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-09-30 13:04:30 +0000 |
commit | 1554e226caad86d8d9b68656b257a3e2cc55803c (patch) | |
tree | 47c30405efe1d83b5fbaf20a28b649a0ccb9f503 /lib/overload.pm | |
parent | e788edffda7d09f6c23d57801a774fbdc00e5bac (diff) | |
download | perl-1554e226caad86d8d9b68656b257a3e2cc55803c.tar.gz |
Fix some recursion in overload.pm
Message-Id: <20000918050540.C652@ilmd>
p4raw-id: //depot/perl@7104
Diffstat (limited to 'lib/overload.pm')
-rw-r--r-- | lib/overload.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/overload.pm b/lib/overload.pm index bead929ddd..2b0b99d3cd 100644 --- a/lib/overload.pm +++ b/lib/overload.pm @@ -383,6 +383,11 @@ be used instead. C<bool> is used in the flow control operators return any arbitrary Perl value. If the corresponding operation for this value is overloaded too, that operation will be called again with this value. +As a special case if the overload returns the object itself then it will +be used directly. An overloaded conversion returning the object is +probably a bug, because you're likely to get something that looks like +C<YourPackage=HASH(0x8172b34)>. + =item * I<Iteration> "<>" |