Sponsored Content
Full Discussion: apologies
Contact Us Post Here to Contact Site Administrators and Moderators apologies Post 302162627 by protienplant on Tuesday 29th of January 2008 01:14:43 PM
Old 01-29-2008
apologies

sorry, I recently posted twice, thinking it didn't go through. didn't mean to make you hassle with redundancy. thanks for your good work.
 

4 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

apologies to Perderabo

Sorry Perderabo, really was only asking advice on where best to post, and if I should post. Didn't intend for that missive to be posted. (0 Replies)
Discussion started by: keith.m
0 Replies

2. UNIX for Dummies Questions & Answers

Apologies from a newbie!

Apologies because this may have been covered elsewhere, but I DID search but couldn't find exactly what I was looking for. My problem is as follows.... I'm doing an extract from an Oracle database, my SQL script does some date manipulation and creates the output file with some date details... (10 Replies)
Discussion started by: speedfreak
10 Replies

3. Post Here to Contact Site Administrators and Moderators

Help with deleting post, apologies about the earlier post.

Apologies about the earlier post, i didnt realise, could i delete that post? I apologise again, SynGc (1 Reply)
Discussion started by: SynGc
1 Replies

4. Post Here to Contact Site Administrators and Moderators

Our Apologies for the Down Time This Weekend (Servercraft Migration)

In case you did not notice, our server was not available for about 10 hours this weekend. Our service provider (Servercraft) moved their entire data center from Houston to Dallas, TX. They sent numerous emails to me but because of how I have configured gmail, none of the messages made... (0 Replies)
Discussion started by: Neo
0 Replies
Test::Without::Module(3pm)				User Contributed Perl Documentation				Test::Without::Module(3pm)

NAME
Test::Without::Module - Test fallback behaviour in absence of modules SYNOPSIS
use Test::Without::Module qw( My::Module ); # Now, loading of My::Module fails : eval { require My::Module; }; warn $@ if $@; # Now it works again eval q{ no Test::Without::Module qw( My::Module ) }; eval { require My::Module; }; print "Found My::Module" unless $@; DESCRIPTION
This module allows you to deliberately hide modules from a program even though they are installed. This is mostly useful for testing modules that have a fallback when a certain dependency module is not installed. EXPORT None. All magic is done via "use Test::Without::Module LIST" and "no Test::Without::Module LIST". Test::Without::Module::get_forbidden_list This function returns a reference to a copy of the current hash of forbidden modules or an empty hash if none are currently forbidden. This is convenient if you are testing and/or debugging this module. ONE LINER
A neat trick for using this module from the command line was mentioned to me by NUFFIN and by Jerrad Pierce: perl -MTest::Without::Module=Some::Module -w -Iblib/lib t/SomeModule.t That way, you can easily see how your module or test file behaves when a certain module is unavailable. BUGS
o There is no lexical scoping CREDITS
Much improvement must be thanked to Aristotle from PerlMonks, he pointed me to a much less convoluted way to fake a module at <http://www.perlmonks.org/index.pl?node=192635>. I also discussed with him an even more elegant way of overriding CORE::GLOBAL::require, but the parsing of the overridden subroutine didn't work out the way I wanted it - CORE::require didn't recognize barewords as such anymore. NUFFIN and Jerrad Pierce pointed out the convenient use from the command line to interactively watch the behaviour of the test suite and module in absence of a module. AUTHOR
Copyright (c) 2003-2009 Max Maischein, <corion@cpan.org> LICENSE
This module is released under the same terms as Perl itself. SEE ALSO
Devel::Hide, Acme::Intraweb, PAR, perlfunc perl v5.10.0 2009-01-18 Test::Without::Module(3pm)
All times are GMT -4. The time now is 01:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy