in reply to
RFC: Simulating Python's @decorators in Perl with Attributes
I wrote a module that used attributes to make sorted hashes. But to get syntax like
my %capital : Sorted;
the 'Sorted' sub (that provides the sorting behaviour) had to be pushed into the UNIVERSAL package, so if someone else wanted to provide a 'Sorted' attribute there would be a name collision.
The name collision could be avoided by using a non UNIVERSAL namespace, but then syntax like
my %capital : Hash::Sorted;
would be too cumbersome.