[MKDoc-commit] [1.6] fix config: petal errors

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Fri Jan 28 18:52:26 GMT 2005


Log Message:
-----------
[1.6] fix config: petal errors

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/flo:
        Object.pm

-------------- next part --------------
Index: Object.pm
===================================================================
RCS file: /var/spool/cvs/mkd/flo/Attic/Object.pm,v
retrieving revision 1.4.2.4
retrieving revision 1.4.2.5
diff -Lflo/Object.pm -Lflo/Object.pm -u -r1.4.2.4 -r1.4.2.5
--- flo/Object.pm
+++ flo/Object.pm
@@ -32,6 +32,12 @@
 use strict;
 use CGI::Carp;
 
+$Petal::Hash::MODIFIERS->{'config:'} = sub {
+    my $hash  = shift;
+    my $key   = shift;
+    return MKDoc::Config->$key();
+};
+
 
 ##
 # $class->config;


More information about the MKDoc-commit mailing list