in reply to Re: Attribute confusion
in thread Attribute confusion
Wrt Attributes::Handler, while I agree that the attributes.pm POD is only useful if you already know how to use attributes, my reasons for not using Attribute::Handler (as noted in my OP) arose from the following error occuring when trying to use the attributes under "perl -d" (on AS 5.8.6 WinXP) :
test_count set to 2 Test 1 Can't use an undefined value as a symbol reference at C:/Perl/lib/Attr +ibute/Han lers.pm line 16. at C:/Perl/lib/Attribute/Handlers.pm line 16 Attribute::Handlers::findsym('main', 'SCALAR(0x1b6e5cc)') call +ed at C:/ erl/lib/Attribute/Handlers.pm line 180 Attribute::Handlers::_apply_handler_AH_('ARRAY(0x1c3475c)', 'C +HECK') ca led at C:/Perl/lib/Attribute/Handlers.pm line 146 Attribute::Handlers::__ANON__[C:/Perl/lib/Attribute/Handlers.p +m:165]('m in', 'SCALAR(0x1b6e5cc)', 'Sociable') called at C:/Perl/lib/attributes +.pm line 6 attributes::import('attributes', 'main', 'SCALAR(0x1b6e5cc)', +'Sociable ) called at t\02shared_attr.t line 52 Debugged program terminated. Use q to quit or R to restart, use O inhibit_exit to avoid stopping after program termination, h q, h R or h O to get additional info. DB<1>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Attribute confusion
by chromatic (Archbishop) on Oct 20, 2006 at 09:30 UTC |