]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/CGI/Maypole.pm
new warn function, other small trivial changes and fixes
[maypole.git] / lib / CGI / Maypole.pm
index b8a0a48d3d40d6351f00d4533c0ca16e2953ab59..d223c768c335b20e85d10af609fd0c271498c339 100644 (file)
@@ -105,6 +105,13 @@ sub parse_location
     $r->parse_args;
 }
 
+sub warn {
+    my ($self,@args) = @_;
+    my ($package, $line) = (caller)[0,2];
+    warn "[$package line $line] ", @args ;
+    return;
+}
+
 =item parse_args
 
 =cut