DOKK / manpages / debian 11 / libdevel-overrideglobalrequire-perl / Devel::OverrideGlobalRequire.3pm.en
Devel::OverrideGlobalRequire(3pm) User Contributed Perl Documentation Devel::OverrideGlobalRequire(3pm)

Devel::OverrideGlobalRequire - Override CORE::GLOBAL::require safely

version 0.001

  use Devel::OverrideGlobalRequire;
  override_global_require( sub { ... } );

This module overrides "CORE::GLOBAL::require" with a code reference in a way that plays nice with any existing overloading and ensures the right calling package is in scope.

Please report any bugs or feature requests through the issue tracker at <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-OverrideGlobalRequire>. You will be notified automatically of any progress on your issue.

This is open source software. The code repository is available for public review and contribution under the terms of the license.

<http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Devel-OverrideGlobalRequire.git;a=summary>

  git clone git://git.shadowcat.co.uk/p5sagit/Devel-OverrideGlobalRequire.git

  • Peter Rabbitson <ribasushi@cpan.org>
  • Andrew Main <zefram@cpan.org>
  • David Golden <dagolden@cpan.org>

This software is copyright (c) 2013 by Peter Rabbitson.

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

2021-01-07 perl v5.32.0