I was thinking I would do something like this and then, story of my life, it is already on CPAN and better than I could have done myself. It is also worth taking a look at the 'self' module which provides self and args as subroutines that can be used without sigils and behave-like special keywords. 'self' on my benchmarks is slightly faster.
Both are great and one or the other should be incorporated in core.
2 out of 2 found this review helpful. Was this review helpful to you? Yes No