good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re6: Aspect-Oriented Programming: Couple of Short Examplesby kelan (Deacon) |
on Aug 05, 2003 at 20:46 UTC ( [id://281158]=note: print w/replies, xml ) | Need Help?? |
I believe Perl6 will provide for this seamlessly with wrappers. From what I understand, you'll be able to wrap a function call with any arbitrary code and henceforth (in the scope the wrapper lives in?) any call to that function will actually call the wrapper, which can do anything you want. See the .wrap subsection of Apocalypse 6, which even specifically mentions Aspect Oriented Programming. kelan Perl6 Grammar Student
In Section
Meditations
|
|