]> git.decadent.org.uk Git - maypole.git/commitdiff
support for unknown flags, for future backwards compatibility
authorSebastian Riedel <sri@labs.kraih.com>
Sun, 17 Oct 2004 20:23:03 +0000 (20:23 +0000)
committerSebastian Riedel <sri@labs.kraih.com>
Sun, 17 Oct 2004 20:23:03 +0000 (20:23 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@236 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/Application.pm

index df66285c75572249e9df5733496a8f8e61e190c1..a3cd971163187bcd54a995533677a1947a7f802f 100644 (file)
@@ -30,6 +30,7 @@ sub import {
             *{"$caller\::debug"} = sub { 1 };
             warn "Debugging enabled";
         }
+        elsif (/^-.*$/) { warn "Unknown flag: $_" }
         else {
 
             # The plugin caller should be our application class