Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Using ArrayRef data members in Moose

by stvn (Monsignor)
on Feb 19, 2011 at 21:23 UTC ( #889104=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using ArrayRef data members in Moose
in thread Using ArrayRef data members in Moose

self->error_log->push does not work until i assign a "default" for the array.

Actually it won't work then either until you add a use Moose::Autobox as well.

-stvn

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889104]
help
Chatterbox?
[marto]: Beware the one liner :p
[Discipulus]: no, they are my crossword/sudoku like entertainment
Discipulus grins
[marto]: Even with shell command recall I find it less time consuming to do such things in a file.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-09-22 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (260 votes). Check out past polls.

    Notices?