Use real libraries from within mocked libraries
# Your mocked module needs to use a real library package Fake::Fun; use unmocked 'URI';
When mocking modules using 'mocked', you are certain that no extra \*(L"real\*(R" 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.
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).
Luke Closs, \*(C`<cpan at 5thplane.com>\*(C'
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.