]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
avoid unnecessary uses of UNIVERSAL
authorJoey Hess <joey@kitenet.net>
Sun, 18 Mar 2012 18:34:21 +0000 (14:34 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 18 Mar 2012 18:34:21 +0000 (14:34 -0400)
commitd134a2a6e93bbb26664b027a10d98ac996a63cfc
treed7e6c50ed5dca7c1264761b77576ad4db6b0524d
parent9c30a00b24f38421732b23b4223c389ee697796e
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
IkiWiki/Plugin/attachment.pm
IkiWiki/Plugin/conditional.pm
IkiWiki/Plugin/po.pm