rev 1305 - trunk/mariachi

[prev] [thread] [next] [lurker] [Date index for 2003/08/11]

From: richardc
Subject: rev 1305 - trunk/mariachi
Date: 10:23 on 11 Aug 2003
Author: richardc
Date: 2003-08-11 10:23:11 +0100 (Mon, 11 Aug 2003)
New Revision: 1305

Modified:
   trunk/mariachi/mariachi
Log:
need the core class


Modified: trunk/mariachi/mariachi
===================================================================
--- trunk/mariachi/mariachi	2003-08-11 06:33:24 UTC (rev 1304)
+++ trunk/mariachi/mariachi	2003-08-11 09:23:11 UTC (rev 1305)
@@ -1,6 +1,7 @@
 #!/usr/local/bin/perl -w
 use strict;
 use AppConfig qw(:argcount);
+use Mariachi;
 
 =head1 NAME
 
@@ -148,13 +149,11 @@
 
 $config->define("thread-context", {
     DEFAULT => '',
-    ARGCOUNT => ARGCOUNT_ONE,
     VALIDATE => sub { $context_styles{ $_[1] } }
    });
 
 $config->define("lurker-context", {
     DEFAULT => '',
-    ARGCOUNT => ARGCOUNT_ONE,
     VALIDATE => sub { $context_styles{ $_[1] } }
    });
 
@@ -166,8 +165,7 @@
 
 $config->define("class", {
     DEFAULT => 'Mariachi',
-    ARGCOUNT => ARGCOUNT_ONE,
-    VALIDATE => sub { eval "require $_[1]; 1" }
+    VALIDATE => sub { eval "require $_[1]; 1" or die "$@" }
    });
 
 

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52