Test::Requires man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

Test::Requires(3)     User Contributed Perl Documentation    Test::Requires(3)

NAME
       Test::Requires - Checks to see if the module can be loaded

SYNOPSIS
	   # in your Makefile.PL
	   use inc::Module::Install;
	   test_requires 'Test::Requires';

	   # in your test
	   use Test::More tests => 10;
	   use Test::Requires {
	       'HTTP::MobileAttribute' => 0.01, # skip all if HTTP::MobileAttribute doesn't installed
	   };
	   isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile';

	   # or
	   use Test::More tests => 10;
	   use Test::Requires qw(
	       HTTP::MobileAttribute
	   );
	   isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile';

	   # or
	   use Test::More tests => 10;
	   use Test::Requires;
	   test_requires 'Some::Optional::Test::Required::Modules';
	   isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile';

DESCRIPTION
       Test::Requires checks to see if the module can be loaded.

       If this fails rather than failing tests this skips all tests.

AUTHOR
       Tokuhiro Matsuno <tokuhirom @*(#RJKLFHFSDLJF gmail.com>

THANKS TO
	   kazuho++ # some tricky stuff
	   miyagawa++ # original code from t/TestPlagger.pm
	   tomyhero++ # reported issue related older test::builder

SEE ALSO
       "TestPlagger.pm" in t

LICENSE
       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.16.2			  2010-09-26		     Test::Requires(3)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net