in reply to Re^3: RFC: Simulating Python's @decorators in Perl with Attributes
in thread RFC: Simulating Python's @decorators in Perl with Attributes

Could it be that you are confusing the meaning of "decorator"?

The term "decorator" in the Python universe has not much to do with the "decorator pattern".

see also SO:Whats the difference between Python decorators and Decorator Pattern?

The initial motivation to look again into Perl attributes was a discussion about Python decorators.

While Perl attributes are more powerful, they are also more difficult to handle.

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^4: RFC: Simulating Python's @decorators in Perl with Attributes