Re: Issue with HashRef attritubes
[email protected] (Kent Fredric) Wed, 26 Jun 2013 18:28:28 +1200
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <CAATnKFAmJN3uvDOiQBwTAtqSKaCdx8-_CsOf9Hq3WmP_fLvH-g@mail.gmail.com> |
On 26 June 2013 14:36, Faelin McCaley Landy <[email protected]> wrote: > One way or another, for whatever reason, the HashRef attributes do not > seem to exist until I start populating them (meaning that it's a bit more > frustrating to use them if I don't want a default value... > Were you accessing them as $object->{attribute} instead of $object->attribute ? Because that would be a problem. -- Kent perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );" http://kent-fredric.fox.geek.nz