in reply to Re: defined class variable with Moose
in thread defined class variable with Moose
Hi there,
Thanks for you reply.
I can see that my code hare are somewhat confusing, but I use description => sub{0} in-stand of description => 0 to keep the consist with other item in my @parserArray, as i need them to be in the same format where i use each item in this array to read some part of my raw file.
As my question here was not clear,let me ask again: but what i need to do is to define variable in my class that contain some predefined data (mix of array/hash/scalar/code).
BR
Hosen
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: defined class variable with Moose
by kcott (Archbishop) on Jun 26, 2015 at 21:17 UTC |