From: Mark D. <mar...@zn...> - 2006-09-25 20:30:26
|
Hi Nick, There is something else happening here. The demo stuff works for me as is. A quick check in the perldocs confirms that just having use base qw(Wx::Frame Class::Accessor::Fast); should work OK without any need to 'use'. It would be interesting to know what's causing it to fail on your machine. What error message do you get? It works here on ActivePerl build 817, Class::Accessor version 0.26 Regards Mark Nick Johnston wrote: > Mattia, > > Not sure if you prefer bug reports on the list or via the bug tracking > system. the wxDemo code in CVS has a very minor bug (in lib/Wx/Demo.pm). > Line 12 is: > > use base qw(Wx::Frame Class::Accessor::Fast); > > The demo doesn't run and there's a fatal error because > Class::Accessor::Fast > isn't use-d. Putting > > use Class::Accessor::Fast; > > before the 'use base' line fixes the problem. I spotted the bug in Mark's > excellent wx Bundle (http://www.gigi.co.uk/wxperl/ppm.html), but since it's > still in CVS HEAD I thought I'd report it here. > > Thanks, > > > Nick > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |