aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-11 06:07:48 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-11 06:09:34 -0400
commit4e1d7d8ff281777c53805072978d4718b8532863 (patch)
treea901c9933bfd7b014186059ce8d54aab973502a8 /IkiWiki/CGI.pm
parent598a8ce1f7827fa18b288a1aee57967a39fcd36a (diff)
downloadikiwiki-4e1d7d8ff281777c53805072978d4718b8532863.tar
ikiwiki-4e1d7d8ff281777c53805072978d4718b8532863.tar.gz
fix use ordering
The recent setup revamp exposed some latent bugs in use/package ordering that caused some symbols to not the exported into the correct scope.
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r--IkiWiki/CGI.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 2a847eb17..6770f6feb 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -1,5 +1,7 @@
#!/usr/bin/perl
+package IkiWiki;
+
use warnings;
use strict;
use IkiWiki;
@@ -7,8 +9,6 @@ use IkiWiki::UserInfo;
use open qw{:utf8 :std};
use Encode;
-package IkiWiki;
-
sub printheader ($) { #{{{
my $session=shift;