PerlingTheUK has asked for the wisdom of the Perl Monks concerning the following question:
exits on compilation with the following message:BEGIN{ ... use Class::Accessor; our ( $VERSION, $LAST_ERROR, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS + ); @ISA = qw( Class::Accessor ); ... Variant->mk_accessor( qw(name nodes) ); }
I wonder if someone with some experience using this class can spot the error as I have spent almost a day on this yet no proper clue what is going wrong.Can't locate object method "mk_accessor" via package "Variant" at Vari +ant.pm line 31.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Class::Accessor Problem
by Ovid (Cardinal) on Nov 27, 2005 at 16:53 UTC | |
by PerlingTheUK (Hermit) on Nov 27, 2005 at 17:03 UTC | |
|
Re: Class::Accessor Problem
by BrowserUk (Patriarch) on Nov 27, 2005 at 16:09 UTC | |
by PerlingTheUK (Hermit) on Nov 27, 2005 at 16:52 UTC |