]> git.decadent.org.uk Git - maypole.git/commitdiff
No wonder it wasn't printing anything.
authorSimon Cozens <simon@simon-cozens.org>
Fri, 16 Jul 2004 22:51:14 +0000 (22:51 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Fri, 16 Jul 2004 22:51:14 +0000 (22:51 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@159 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/CLI.pm

index 8b7107b7b164a33a421cff6963896fb98dacc35f..5524c7268d49c5eea1e28ad7d5b42db4f21c9b83 100644 (file)
@@ -31,7 +31,7 @@ sub send_output { $buffer = shift->{output} }
 
 # Do it!
 CHECK { if ((caller(0))[1] eq "-e") { 
-            $package->handler() and print $buffer; 
+            $package->handler() == OK and print $buffer; 
        } }
 
 1;