make ikiwiki-prefix-directives use warnings and strict
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 28 Jan 2008 19:24:27 +0000 (14:24 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 28 Jan 2008 19:24:27 +0000 (14:24 -0500)
ikiwiki-prefix-directives

index d35c41f30e922628d3e15268b18a19c7bfb53338..f14fe339fdffde3095e3fb1acd7107aa088aa6f2 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/perl -i
+use warnings;
+use strict;
+
 undef $/; # process whole files at once
 
 my $regex = qr{
@@ -23,7 +26,7 @@ my $regex = qr{
        \]\]            # directive closed
 }sx;
 
-sub handle_directive($$$$) {
+sub handle_directive {
        my $escape = shift;
        my $prefix = shift;
        my $directive = shift;