in reply to Re: Re: RFC: Sub::Attributes -- alter subroutine context behavior with attributes
in thread RFC: Sub::Attributes -- alter subroutine context behavior with attributes
*shrug* Personally, I think it should return a Class::Iterator object (which provides iterator versions of map and grep), though that marries you to Robert Silve's idea of what an iterator API looks like.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|