in reply to Re^2: Psychic Disconnect and Object Systems
in thread Psychic Disconnect and Object Systems
The easiest thing to do is to use Moose's automatically-generated new,
So? Unless you are proposing that Moose should automatically build the desired constructor instead (impossible), that's irrelevant. The only thing that matters is how easy it is to build your own constructor, and Moose doesn't hinder that at all.
But if you just do has 'foo'; You get read-only attributes by default.
No you don't. You get an error.
The OP's question is "why?"
Obviously not. He's asking about is=>'ro'. ro = read-only.
It seems like you're being deliberately obtuse in your first two answers.
You have not identified any issues with them.
As for internal-use attributes, the OP is wondering what this does:
I did indeed misread that question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Psychic Disconnect and Object Systems
by educated_foo (Vicar) on Apr 15, 2011 at 22:16 UTC | |
by ikegami (Patriarch) on Apr 15, 2011 at 22:47 UTC | |
by ikegami (Patriarch) on Apr 15, 2011 at 22:52 UTC |