OK, export works, but...what if, e.g., the app wants to use multiple attributes handler modules ? Or some other attribute module needs to use my module ? When I created another stub attributes handler module, and use'd both modules, and applied both sets of attributes, only the last handler got invoked, presumably since its version of MODIFY_XXX_ATTRIBUTES replaced by the 1st module's version ?

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>

In reply to Re^2: Attribute confusion by renodino
in thread Attribute confusion by renodino

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.