diff options
author | Joey Hess <joey@kitenet.net> | 2012-03-18 14:34:21 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-03-18 14:34:21 -0400 |
commit | d134a2a6e93bbb26664b027a10d98ac996a63cfc (patch) | |
tree | d7e6c50ed5dca7c1264761b77576ad4db6b0524d /IkiWiki/Plugin/po.pm | |
parent | 9c30a00b24f38421732b23b4223c389ee697796e (diff) | |
download | ikiwiki-d134a2a6e93bbb26664b027a10d98ac996a63cfc.tar ikiwiki-d134a2a6e93bbb26664b027a10d98ac996a63cfc.tar.gz |
avoid unnecessary uses of UNIVERSAL
Foo->Bar->can("method") works just as well, even if Foo::Bar is not
loaded. Using UNIVERSAL::can is deprecated.
But, I was unable to easily eliminate conditional.pm's use of UNIVERSAL::can
Diffstat (limited to 'IkiWiki/Plugin/po.pm')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 6410a1c66..287b5aa11 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -23,7 +23,6 @@ use File::Copy; use File::Spec; use File::Temp; use Memoize; -use UNIVERSAL; my ($master_language_code, $master_language_name); my %translations; |