projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e3dc0a
)
remove redundant use
author
Joey Hess
<joey@gnu.kitenet.net>
Mon, 26 Jan 2009 18:35:50 +0000
(13:35 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Mon, 26 Jan 2009 18:35:50 +0000
(13:35 -0500)
use is file-scoped so warnings and strict are already enabled
inside the second package, and IkiWiki is already loaded
(though not imported into this context)
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index b7e2091b6d769567dbf8d64cc2201740d438f492..659350ea01d05537481c684fbea4ca244105d875 100644
(file)
--- a/
IkiWiki/Plugin/po.pm
+++ b/
IkiWiki/Plugin/po.pm
@@
-1120,9
+1120,6
@@
sub isvalidpo ($) {
# `----
package IkiWiki::PageSpec;
-use warnings;
-use strict;
-use IkiWiki 2.00;
sub match_istranslation ($;@) {
my $page=shift;