Skip Menu |

This queue is for tickets about the Hash-AsObject CPAN distribution.

Report information
The Basics
Id: 52597
Status: new
Priority: 0/
Queue: Hash-AsObject

Owner: Nobody in particular
Requestors: sshaw [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)


Subject: Infinite Recursion When Sub Classed
Date: Wed, 9 Dec 2009 02:05:01 -0500 (EST)
To: bug-Hash-AsObject [...]
From: Skye Shaw <sshaw [...]>
Download (untitled) / with headers
text/plain 338b
Hi, When you define methods in AUTOLOAD like: *{ "${cls}::$key" } = sub { } And attempt to call them with: goto &$key AUTOLOAD will be called infinitely since the sub was defined in $cls's namespace not Hash::AsObject's. Easy fix: goto &{ "${cls}::$key" } I've attached a patch and added to test 07. -Skye

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to