Gangabass has asked for the wisdom of the Perl Monks concerning the following question:
Error: Base class package "Class::Accessor::Chained::Fast" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at /usr/lib/perl5/site_perl/5.8.8/Data/Page.pm line 4
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Data/Page.pm line 4.
Callstack:
1: Package main in File Page.pm, Sub (eval) @ Line 4
2: Package Data::Pageset in File Pageset.pm, Sub Data::Pageset::BEGIN @ Line 6
3: Package main in File Page.pm, Sub (eval) @ Line 4
4: Package main in File Page.pm, Sub (eval) @ Line 4
5: Package AUC::TEMPLATE in File TEMPLATE.pm, Sub AUC::TEMPLATE::BEGIN @ Line 473
6: Package main in File Page.pm, Sub (eval) @ Line 4
7: Package main in File Page.pm, Sub (eval) @ Line 4
8: Package main in File Auction, Sub main::BEGIN @ Line 94
9: Package main in File Page.pm, Sub (eval) @ Line 4
10: Package main in File Page.pm, Sub (mainline) @ Line 4
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Data/Pageset.pm line 6.
On line 6 of Data/Pageset.pm i have just use Data::Page; and the 4th line of Data/Page.pm is standard use base 'Class::Accessor::Chained::Fast'; and this line gives me this empty error.
This thing is strange for me because than i run perl -MData::Page -e "1" from command line i have no errors. So i need a hint how i can fix this issue.
Thanks a lot.
Roman
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strange Class::Accessor::Chained::Fast error
by Khen1950fx (Canon) on Jan 02, 2012 at 07:07 UTC | |
by Gangabass (Vicar) on Jan 02, 2012 at 07:25 UTC | |
|
Re: Strange Class::Accessor::Chained::Fast error
by choroba (Cardinal) on Jan 02, 2012 at 09:01 UTC | |
|
Re: Strange Class::Accessor::Chained::Fast error
by Gangabass (Vicar) on Jan 02, 2012 at 08:39 UTC |