1#!/usr/bin/env perl 2 3# Copyright (C) 2005 Joshua Hoblitt 4# 5# $Id: 00_distribution.t,v 1.1 2007/04/11 01:17:16 jhoblitt Exp $ 6 7use strict; 8use warnings FATAL => qw( all ); 9 10use lib qw( ./lib ./t ); 11 12use Test::More; 13 14# example taken from Test::Distribution Pod 15 16BEGIN { 17 eval { 18 require Test::Distribution; 19 }; 20 if($@) { 21 plan skip_all => 'Test::Distribution not installed'; 22 } else { 23 # pod tests have to be disabled because of the Pod test strings in 24 # Test::Pod::Tidy 25#import Test::Distribution not => qw( pod ); 26 import Test::Distribution; 27 } 28} 29