The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Module::Require"

Module::Require River stage zero No dependents

This module provides a way to load in a series of modules without having to know all the names, but just the pattern they fit. This can be useful for allowing drop-in modules for application expansion without requiring configuration or prior knowledg...

JSMITH/Module-Require-0.05 - 05 Mar 2004 17:08:07 UTC

Test2::Require::Module - Skip tests if certain packages are not installed, or insufficient versions. River stage four • 727 direct dependents • 6230 total dependents

Sometimes you have tests that are nice to run, but depend on tools that may not be available. Instead of adding the tool as a dep, or making the test always skip, it is common to make the test run conditionally. This package helps make that possible....

EXODIST/Test2-Suite-0.000159 - 25 Oct 2023 21:10:28 UTC

Module::Recursive::Require - This class require module recursively. River stage one • 3 direct dependents • 4 total dependents

# ************************************** before use MyApp::Foo; use MyApp::Foo::CGI; use MyApp::Foo::Mail; use MyApp::Foo::Mail::Send; # use use use use use !! use MyApp::Foo::Hoge::Orz; # ************************************** after use Module::Recu...

MASAP/Module-Recursive-Require-0.04 - 03 Sep 2006 07:14:24 UTC

Module::Load - runtime require of both modules and files River stage five • 282 direct dependents • 21538 total dependents

"Module::Load" eliminates the need to know whether you are trying to require either a file or a module. If you consult "perldoc -f require" you will see that "require" will behave differently when given a bareword or a string. In the case of a string...

BINGOS/Module-Load-0.36 - 29 Sep 2020 10:58:42 UTC

Module::Locate - locate modules in the same fashion as require and use River stage two • 10 direct dependents • 15 total dependents

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

NEILB/Module-Locate-1.80 - 25 Oct 2015 09:08:31 UTC

V - Print version of the specified module(s). River stage two • 7 direct dependents • 10 total dependents

This module uses stolen code from Module::Info to find the location and version of the specified module(s). It prints them and exit()s. It defines "import()" and is based on an idea from Michael Schwern on the perl5-porters list. See the discussion: ...

ABELTJE/V-0.19 - 08 Jan 2024 15:30:19 UTC

Module::Install::RPM - require certain RPMs be installed River stage zero No dependents

Provide a mechanism for a Perl module to require that certain RPMs are installed and that they optionally meet some minimum version requirements. NOTE: This is only useful for Linux distributions that utilize the RedHat Package Manager to maintain pa...

DUFF/Module-Install-RPM-0.01 - 13 Jul 2010 21:07:52 UTC

Module::Use River stage zero No dependents

Module::Use will record the modules used over the course of the Perl interpreter's lifetime. If the logging module is able, the old logs are read and frequently used modules are automatically loaded. Note that no symbols are imported into packages. U...

JSMITH/Module-Use-0.05 - 09 Oct 2001 19:21:54 UTC

Module::Mask - Pretend certain modules are not installed River stage three • 2 direct dependents • 206 total dependents

Sometimes you need to test what happens when a given module is not installed. This module provides a way of temporarily hiding installed modules from perl's require mechanism. The Module::Mask object adds itself to @INC and blocks require calls to re...

MATTLAW/Module-Mask-0.06 - 14 Jan 2013 10:01:57 UTC

Module::Util - Module name tools and transformations River stage three • 20 direct dependents • 533 total dependents

This module provides a few useful functions for manipulating module names. Its main aim is to centralise some of the functions commonly used by modules that manipulate other modules in some way, like converting module names to relative paths....

MATTLAW/Module-Util-1.09 - 10 Jan 2013 15:24:51 UTC

Module::Data - Introspect context information about modules in @INC River stage two • 7 direct dependents • 12 total dependents

KENTNL/Module-Data-0.013 - 06 Mar 2017 11:54:15 UTC

Module::Want - Check @INC once for modules that you want but may not have River stage two • 7 direct dependents • 13 total dependents

Sometimes you want to lazy load a module for use in, say, a loop or function. First you do the eval-require but then realize if the module is not available it will re-search @INC each time. So then you add a lexical boolean to your eval and do the sa...

DMUEY/Module-Want-0.6 - 26 Oct 2013 01:16:18 UTC

Module::Path - get the full path to a locally installed module River stage three • 18 direct dependents • 761 total dependents

This module provides a single function, "module_path()", which takes a module name and finds the first directory in your @INC path where the module is installed locally. It returns the full path to that file, resolving any symlinks. It is portable an...

NEILB/Module-Path-0.19 - 16 Mar 2015 21:24:10 UTC

Module::Used - Find modules loaded by Perl code without running it. River stage one • 1 direct dependent • 8 total dependents

Modules are found statically based upon "use" and "require" statements. If use of the base or parent is found, both that module and the referenced ones will be returned. If Moose or Moose::Role are found, this will look for "extends" and "with" sugar...

ELLIOTJS/Module-Used-v1.3.0 - 28 Aug 2012 02:18:02 UTC

Module::Lazy - postpone loading a module until it's actually used River stage zero No dependents

In large projects loading all the dependencies may take a lot of time. This module attempts to reduce the startup time by postponing initialization. The improvement be significant for unit test scripts and small command-line tools which do not utiliz...

KHEDIN/Module-Lazy-0.04 - 05 Mar 2019 17:55:56 UTC

Module::Make - The New Way To make Modules River stage zero No dependents

Writing Perl modules, especially modules intended for CPAN, requires a lot of work that just isn't fun. Instead of just writing Perl code, you need to write and maintain a bunch of auxilary files as well: * Makefile.PL * Changes * README * META.yml *...

INGY/Module-Make-0.01 - 07 Apr 2007 03:41:04 UTC

Module::Hash - a tied hash that requires modules for you River stage one • 1 direct dependent • 1 total dependent

Module::Hash provides a tied hash that can be used to load and quote module names. Tied Interface tie my %MOD, "Module::Hash", %options; The hash is tied to Module::Hash. Every time you fetch a hash key, such as $MOD{"Math::BigInt"} that module is lo...

TOBYINK/Module-Hash-0.002 - 10 Sep 2014 22:04:24 UTC

alias::module - Alias one module as another River stage three • 15 direct dependents • 110 total dependents

This module aliases one module name to another. package Your::Alias::Name; use alias::module 'Some::Real::Module::Name'; is equivalent to: package Your::Alias::Name; BEGIN { $Package::Alias::BRAVE = 1; require Some::Real::Module::Name; } use Package:...

PERLANCAR/alias-module-0.003 - 18 Jan 2024 00:05:43 UTC

Module::Which - find version and path of locally installed modules River stage one • 4 direct dependents • 5 total dependents

"Module::Which" provides the "which()" function, which takes the name of one or more modules, and returns information about those modules if they're intalled locally, including the version and the path. "Module::Which" is the basis of the script "whi...

NEILB/Module-Which-0.05 - 10 Nov 2015 09:09:19 UTC

Module::Info - Information about Perl modules River stage three • 18 direct dependents • 111 total dependents

Module::Info gives you information about Perl modules without actually loading the module. It actually isn't specific to modules and should work on any perl code....

NEILB/Module-Info-0.37 - 01 Nov 2015 15:33:55 UTC
106 results (0.04 seconds)