Luke Closs > mocked > unmocked

Download:
mocked-0.09.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

unmocked - use real libraries from within mocked libraries

SYNOPSIS ^

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

DESCRIPTION ^

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).

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.

syntax highlighting: