develooper Front page | perl.perl5.porters | Postings from June 2011

[perl #86410] [PATCH] Fix objectify()'s handling of "foreign objects".

From:
Father Chrysostomos via RT
Date:
June 11, 2011 13:46
Subject:
[perl #86410] [PATCH] Fix objectify()'s handling of "foreign objects".
Message ID:
rt-3.6.HEAD-22811-1307825177-1606.86410-15-0@perl.org
On Thu Mar 17 12:11:15 2011, pjacklam wrote:
> - Fix handling of "foreign objects" so they are converted to the
>   appropriate class (Math::BigInt or Math::BigFloat).
> - Avoid code duplication by using only one loop.
> - Loop over indexes rather than array elements to make code cleaner.
> - Fix incorrect code comments, add more code comments and clearify
>   existing ones.
> - Correct handling of undefs to make the code consistent. objectify()
>   gave different output when the initial "shortcut" was removed.
> - Add test file verifying that RT#16221 is fixed.
> 
> This fix closes RT #16221 and RT #52124. This patch supersedes Perl
> #86146.

Thank you. Applied as 66a0495875e.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About