silence "Name "File::Spec::rel2abs" used only once: possible typo" 1.008010
Karen Etheridge [Mon, 27 May 2013 01:04:43 +0000 (18:04 -0700)]
t/classmethod.t

index 385572a..f928fd5 100644 (file)
@@ -17,6 +17,7 @@ is($c->resolve_empty_path('foo'), 'foo');
 
 {
 
+no warnings 'once';
 local *File::Spec::rel2abs = sub { shift; 'FOO'.shift; };
 is($c->resolve_relative_path('bar'),'FOObar');