note
wanna_code_perl
<blockquote><i>If $foo is an object, you shouldn't be peeking at $foo->{name} anyway; write an accessor so that you can do $foo->name.</i></blockquote>
<p>Funny you should mention that. That's precisely what I was trying to do when I first saw the "DEFAULT block did not return a suitable reference to the hash dereference at ...". I decided it wasn't worth it a short time later, but it was starting to look like I'd have to implement most of the class inside one of Contextual::Return's <c>METHOD { ... }</c> blocks.</p>
<p>You're spot on, though. If I use anything, it'll probably be [mod://Want].</p>
1044154
1044163