]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/CGI/Maypole.pm
fixed pod for warn method
[maypole.git] / lib / CGI / Maypole.pm
index b8a0a48d3d40d6351f00d4533c0ca16e2953ab59..4724a1b532d64625de4bcd3b8ba8c8759a2de731 100644 (file)
@@ -105,6 +105,17 @@ sub parse_location
     $r->parse_args;
 }
 
+=item warn
+
+=cut
+
+sub warn {
+    my ($self,@args) = @_;
+    my ($package, $line) = (caller)[0,2];
+    warn "[$package line $line] ", @args ;
+    return;
+}
+
 =item parse_args
 
 =cut