develooper Front page | perl.dbd.pg.changes | Postings from May 2008

[svn:DBD-Pg] r11211 - DBD-Pg/trunk/t

From:
turnstep
Date:
May 7, 2008 11:56
Subject:
[svn:DBD-Pg] r11211 - DBD-Pg/trunk/t
Author: turnstep
Date: Wed May  7 11:56:29 2008
New Revision: 11211

Modified:
   DBD-Pg/trunk/t/99_spellcheck.t

Log:
Don't throw errors for those without the modules in question.


Modified: DBD-Pg/trunk/t/99_spellcheck.t
==============================================================================
--- DBD-Pg/trunk/t/99_spellcheck.t	(original)
+++ DBD-Pg/trunk/t/99_spellcheck.t	Wed May  7 11:56:29 2008
@@ -106,8 +106,8 @@
 		package File::Comments::Plugin::Catchall; ## no critic
 		use strict;
 		use warnings;
-		use File::Comments::Plugin;
-		use File::Comments::Plugin::C;
+		require File::Comments::Plugin;
+		require File::Comments::Plugin::C;
 
 		our @ISA     = qw(File::Comments::Plugin::C);
 



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About