in reply to Re: How Are Attributes Useful?
in thread How Are Attributes Useful?

No, they are just text tags. Perl checks for the "lvalue" tag and, if found, does special processing. But the attribute is just a way to tell Perl to do that special processing.

- tye        

  • Comment on Re^2: How Are Attributes Useful? (just tags)

Replies are listed 'Best First'.
Re^3: How Are Attributes Useful? (just tags)
by Zaxo (Archbishop) on Jan 19, 2005 at 00:32 UTC

    That's an implementation detail. The point is that thay represent metadata for the perl compiler, not the user's runtime. It's magic, I say!

    After Compline,
    Zaxo

      s/not/or/

      Attributes are just syntactic sugar for implementation details.

      If you think attributes are the magic, then you'll never understand how to use attributes in general.

      - tye