in reply to Re: Moo error message not understood (BEGIN block missing)
in thread Moo error message not understood
Thanks. Your advice works perfectly, but I'm still confused. I don't see how, if the "new" happens before "has", the text gets into the object as shown by Data::Dumper. Maybe I shouldn't be worrying, but I'm scared there's a trap lying in wait for me.
Regards,
John Davies
Update: Thanks again. I won't pretend to understand everything at first glance late on a Friday evening, but it's a relief to know that there is a sound explanation. I will work through it, but I won't guarantee how many attempts it will take to get it into my skull. I knew there were aspects of Perl I didn't have a clue about, and this is clearly one that I need to understand better.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Moo error message not understood (begincheck.pl)
by Anonymous Monk on Jan 17, 2014 at 20:20 UTC | |
Re^3: Moo error message not understood (BEGIN block missing)
by Anonymous Monk on Jan 17, 2014 at 20:34 UTC |