unmocked(3pm)

unmocked3pm

Use real libraries from within mocked libraries

Usage

  # Your mocked module needs to use a real library
  package Fake::Fun;
  use unmocked 'URI';

Overview

When mocking modules using 'mocked', you are certain that no extra "real" libraries are being loaded. But sometimes you don't want to use real libraries from within your mocked library. This module allows you to load real libraries using your previous include paths.

Functions

import

With a package name, this function will ensure that the module you specify is loaded from the regular @INC path (that mocked.pm has removed).

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0–9
  2. 10
  3. 11
  4. 12–13

Author

Luke Closs, "<cpan at 5thplane.com>"

License

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

From libmocked-perl 0.09-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.