diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-11 06:07:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-11 06:09:34 -0400 |
commit | 4e1d7d8ff281777c53805072978d4718b8532863 (patch) | |
tree | a901c9933bfd7b014186059ce8d54aab973502a8 /IkiWiki/Rcs/monotone.pm | |
parent | 598a8ce1f7827fa18b288a1aee57967a39fcd36a (diff) |
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/Rcs/monotone.pm')
-rw-r--r-- | IkiWiki/Rcs/monotone.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/IkiWiki/Rcs/monotone.pm b/IkiWiki/Rcs/monotone.pm index 6931fd36b..ce4a2a3ed 100644 --- a/IkiWiki/Rcs/monotone.pm +++ b/IkiWiki/Rcs/monotone.pm @@ -1,4 +1,7 @@ #!/usr/bin/perl + +package IkiWiki; + use warnings; use strict; use IkiWiki; @@ -6,8 +9,6 @@ use Monotone; use Date::Parse qw(str2time); use Date::Format qw(time2str); -package IkiWiki; - my $sha1_pattern = qr/[0-9a-fA-F]{40}/; # pattern to validate sha1sums sub check_config() { #{{{ |