Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.544.006 Times

Module::Mask 0.03

Company: Matthew Lawrence
Date Added: August 14, 2013  |  Visits: 194

Module::Mask

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)



Sometimes you need to test what happens when a given module is not installed. Module::Mask is a Perl module that 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 restricted modules.<br /><br />Module::Mask will not affect modules already loaded at time of instantiation.<br /><br />SYNOPSIS<br /><br /> use Module::Mask;<br /><br /> {<br /> my $mask = new Module::Mask ('My::Module');<br /> eval { require My::Module };<br /> if ($@) {<br /> # ... should be called<br /> }<br /> else {<br /> warn "require succeeded unexpectedly"<br /> }<br /> }<br /> <br /> # The mask is out of scope, this should now work.<br /> eval { require My::Module };<br /><br /> # There's also an inverted version:<br /> {<br /> my $mask = new Module::Mask::Inverted qw( Foo Bar );<br /><br /> # Now only Foo and Bar can be loaded by require:<br /> eval {require Baz};<br /> }

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Called Installed Instantiationsynopsis Inverted Loaded Mask Module Module Mask Modulemask Modulemaskinverted Modules Mymodule Quotrequire Require Scope Succeeded There039s Unexpectedlyquot Version
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


MODULE::MASK RELATED
Network & Internet  -  mod_auth_cache 0.1.1
mod_auth_cache is an Apache module transparently caches an authentication originally done by a different module. The aim of this module is to speed up complex authentication mechanisms, to reduce database traffic if authenticating thru a backend...
15.36 KB  
Miscellaneous Communications Tools  -  SvxLink 11.11.1
The SvxLink project is developing a flexible, general purpose voice services system for ham radio use. The SvxLink Server consists of a core that handles the connection to the transceiver. The core can be configured to act as a repeater controller...
829.44 KB  
Modules  -  Taxonomy Machine Names 6.x-1.0-beta1
This module's audience is developers who require machine names for taxonomy vocabularies, including views support. This module allows existing (and new) installations to continue using the Drupal 6 taxonomy API while gaining the benefits of...
10 KB  
Libraries  -  Bundle::BDFOY 20070101
Bundle::BDFOY is a Perl module that can install all modules by BDFOY. SYNOPSIS cpan Bundle::BDFOY CONTENTS Apache::Htaccess Apache::iTunes Business::ISBN Business::ISBN::Data Business::ISMN Business::US::USPS::WebTools...
2.05 KB  
Libraries  -  NetServer::Portal 1.08
NetServer::Portal is a Perl module used to interactively manipulate daemon processes. SYNOPSIS require NetServer::Portal; NetServer::Portal->default_start(); # creates server warn "NetServer::Portal listening on port ".(7000+($$ %...
13.31 KB  
Audio Tools  -  PulseAudio Preferences 0.9.5
PulseAudio Preferences in short paprefs, is a simple GTK based configuration dialog for the PulseAudio sound server Please note that this program can only configure local servers, and requires that a special module module-gconf is loaded in the...
 
Modules  -  Cipher 5.x-1.x-dev 1.0
This module doesn't do anything on its own and should be installed only if required by another module.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: -...
 
Modules  -  The AI Module 1.2
The flash interface is to be used with the Pandorabots engine.The back reply is formatted in XML. Installation - Use Joomla module install manager to do the install of The AI Module.  - Make sure you publish this module - You can change the look...
 
Modules  -  Notification Emails 5.x-1.x-de
The module provides API for other modules to send notification emails.Install this module only if you use another module which depends on it.The module provides user interface to edit email address, subject and body template using set of...
10 KB  
Modules  -  Podtrac 5.x-1.0
The podtrac module is an add-on for the audio module that replaces the audio modules built in download tracking with Podtracs Track & Analyze service.Before you start using this module head over to podtrac.com, setup your podcast or audio feed,...
10 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB