in reply to Creating instance methods using closures
There are a number of existing modules on CPAN that address this issue, but I don't know of any that generate the particular kind of two-level-lookup that you've described, so I think you're best off continuing to use this code to generate the methods yourself.
|
|---|