Devel-Hooks-INC version 0.01 ============================ Each OO hooks that are run before and after a module or package is loaded. unshift @INC, My::INC->new; package My::INC; use strict; use warnings; use base qw( Devel::Hook::INC ); sub before { my( $self, $S ) = @_; warn "Loading $S->{filename}"; } sub after { my( $self, $S ) = @_; warn "Loaded $S->{filename}"; } INSTALLATION To install this module type the following: perl Makefile.PL make make test make install COPYRIGHT AND LICENCE Put the correct copyright and licence information here. Copyright (C) 2023 by Philip Gwyn This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.26.3 or, at your option, any later version of Perl 5 you may have available.