-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Moin,
On Saturday 23 September 2006 03:17, chris@prather.org via RT wrote:
Show quoted text> Fri Sep 22 21:17:22 2006: Request 21629 was acted upon.
> Transaction: Ticket created by chris@prather.org
> Queue: Math-BigInt
> Subject: overloaded $@ caused issues ... not enough magic
> Broken in: 1.77
> Severity: Normal
> Owner: Nobody
> Requestors: chris@prather.org
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=21629 >
>
>
> Trying to load a package that loaded Math::BigInt into AxKit2 I got the
> following:
>
> eval Operation "eq": no method found, left argument in overloaded
> package AxKit2::StructuredError, right argument has no overloaded magic
> at /opt/local/lib/perl5/5.8.8/Math/BigInt.pm line 2437.
>
> I resolved it by changing line 2437 from
>
> if ($@ eq '')
>
> to
>
> if ("$@" eq '')
I am not sure if this is the right way to fix. Wouldn't it make much more
sense to fix the overloading for $@ inside AxKit2 to provide a stringify
method? If AxKit2 returns an overloeaded object, it should make sure the
object is usable and not halfbroken.
Otherwise, a lot more code than just BigInt will be not working with it.
Best wishes,
Tels
- --
Signed on Mon Sep 25 14:47:49 2006 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"Where shall I put you? Under H, like Hot, Sexy Mama?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iQEVAwUBRRfQSXcLPEOTuEwVAQJB8Qf+LTTxiV0yeNn/GXi1IYH3Ozqfqgwm/eaM
jEKWEWoWLCIDKJerFCmEmN4MQqL33HV0oO9GsRHKdHw/jWb0H4clRjQT0lZPApIK
LEqI7/RbUDQBiUAF1uRB5hjOh6eN1PechZ20iwbcefPHwwZoQpVmaQYvc8hbwTWy
15Ti6jAgtUOEjeQR5u5hPTIUiyCRre6lduzV1/qAkHsSvO7Y/JSm5ebhAr1VSTkj
NSJxgaqKz4RyqOt44coUYeWEKEz9rwUv8UUrnNSUeFsYfb3DELWzJ6rJihIBGgm0
jsAfacCXyFzweXM1b01CXJ1KxRmbccu18pwhMO8ModepulpbxYtuJw==
=ZmQS
-----END PGP SIGNATURE-----