Module::LocateLocate modules in the same fashion as require and use | |
Download |
Module::Locate Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dan Brook
- Publisher web site:
- http://search.cpan.org/~broq/
Module::Locate Tags
Module::Locate Description
Locate modules in the same fashion as require and use Module::Locate is a Perl class to locate modules in the same fashion as require and use.SYNOPSIS use Module::Locate qw/ locate get_source /; add_plugin( locate "This::Module" ); eval 'use strict; ' . get_source('legacy_code.plx');Using locate(), return the path that require would find for a given module or filename (it can also return a filehandle if a reference in @INC has been used). This means you can test for the existence, or find the path for, modules without having to evaluate the code they contain.This module also comes with accompanying utility functions that are used within the module itself (except for get_source) and are available for import. Requirements: · Perl
Module::Locate Related Software