From: Frank Lichtenheld Date: Wed, 1 Feb 2006 19:08:15 +0000 (+0000) Subject: Add some dummy sub routines that emulate some yet missing modules X-Git-Tag: switch-to-templates~220 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=355e7c2b45892eed587f21d9f1185dade88e8b0a;p=deb%2Fpackages.git Add some dummy sub routines that emulate some yet missing modules --- diff --git a/lib/Packages/HTML.pm b/lib/Packages/HTML.pm index 1003949..735302e 100644 --- a/lib/Packages/HTML.pm +++ b/lib/Packages/HTML.pm @@ -6,11 +6,15 @@ use warnings; use URI::Escape; use HTML::Entities; -use Packages::Util; -use Packages::I18N::Locale; -use Packages::I18N::Languages; -use Packages::I18N::LanguageNames; -use Generated::Strings qw( gettext dgettext ); +#use Packages::Util; +#use Packages::I18N::Locale; +#use Packages::I18N::Languages; +#use Packages::I18N::LanguageNames; +#use Generated::Strings qw( gettext dgettext ); + +# dummy routines +sub get_charset { return "utf-8" }; +sub gettext { return $_[0]; }; our @ISA = qw( Exporter ); our @EXPORT = qw( header title trailer file_changed time_stamp