From 4e1d7d8ff281777c53805072978d4718b8532863 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 11 Jul 2008 06:07:48 -0400 Subject: 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. --- IkiWiki/CGI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IkiWiki/CGI.pm') 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; -- cgit v1.2.3