[Po4a-commits] "po4a/lib/Locale/Po4a Common.pm,1.11,1.12"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Wed Nov 2 00:09:47 UTC 2005


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv12105/lib/Locale/Po4a

Modified Files:
	Common.pm 
Log Message:
eval: otherwise, Common.pm does not compile without libtext-wrapi18n-perl.


Index: Common.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Common.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Common.pm	10 Aug 2005 14:10:59 -0000	1.11
+++ Common.pm	2 Nov 2005 00:09:35 -0000	1.12
@@ -44,8 +44,9 @@
         }
         $col=76 if (!defined $col);
         
-        use Text::WrapI18N qw($columns); 
-        $columns = $col;
+        eval ' use Text::WrapI18N qw($columns);
+               $columns = $col;
+             ';
        
         eval ' sub wrapi18n($$$) { Text::WrapI18N::wrap($_[0],$_[1],$_[2]) } '
     } else {




More information about the Po4a-commits mailing list