Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

nkuitse (193)

nkuitse
  (email not shown publicly)
http://www.nkuitse.com/

Journal of nkuitse (193)

Friday March 12, 2004
11:20 AM

New module released. Bugs found. Argh!

[ #17879 ]

Hash::AsObject is now available from CPAN.

$h = Hash::AsObject->new(%myhash);
$h->foo(123);
print $h->foo;  # 123

It's all implemented in AUTOLOAD so there are absolutely no verboten keys. All is permitted - even new, AUTOLOAD, and DESTROY may be used as accessors/mutators.

Oops. Dang. My tests weren't checking for VERSION, can, import, and isa. (*Sigh*). And I always wondered why I kept seeing people uploading two or more versions of the same distribution on the same day...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.