Scroll to navigation

Aspect::Hook(3pm) User Contributed Perl Documentation Aspect::Hook(3pm)


Aspect::Hook - Holding area for internal generated code


During the weaving process Aspect needs do a large amount of code generation and it is important that this generated code is kept away from the target packages to prevent accidental collisions and other pollution.

To prevent this, all of the generated code is produced in a dedicated and isolated namespace.

Aspect::Hook is the namespace in which this happens. Beyond this purpose, this class services no other purpose.


Adam Kennedy <>

Marcel Grünauer <>

Ran Eilam <>


Copyright 2001 by Marcel Grünauer

Some parts copyright 2009 - 2013 Adam Kennedy.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-06-08 perl v5.34.0