in reply to Re: [NTF] Paranoic.pm to check md5 of loaded modules
in thread [NTF] Nice Perl ideas I have no time for
I guess you'll need to think about FFI loaded libraries eventually.BEGIN { require DynaLoader; # no strict 'refs'; no warnings 'redefine'; my $keep = \&DynaLoader::dl_load_file; *DynaLoader::dl_load_file = sub { my ( $path, $flags ) = @_; warn "We should check '$path' here"; &$keep(@_); }; } # Random XS based core modules use Cwd; use Fcntl; use Digest::MD5;
|
|---|