[Catalyst-dev] Redux: config formats
    Kenny Gatdula 
    kennyg at pobox.com
       
    Sat Jun 10 16:17:25 CEST 2006
    
    
  
On Jun 9, 2006, at 10:50 PM, Matt S Trout wrote:
>
> I say we bite the bullet and move to Config::General by default,  
> leaving YAML
> available as an option if and only if somebody writes a patch to  
> embed a cheat
> sheet in comments available by default.
What kind of cheat sheet are you after here? would a link back to  
http://www.yaml.org/refcard.html work? Here's a patch against  
Helper.pm in Catalyst-Devel that includes some options culled from  
the docs.
Kenny
--- Helper.pm.orig      2006-06-10 00:02:59.000000000 -0400
+++ Helper.pm   2006-06-10 10:15:55.000000000 -0400
@@ -697,13 +697,17 @@
auto_install;
WriteAll;
__config__
----
+--- #YAML:1.0
+# DO NOT USE TABS! http://www.yaml.org/refcard.html
name: [% name %]
+#View::TT:
+#    CATALYST_VAR: Catalyst
+#    EVAL_PERL: 1
+#    TIMER: 0
__readme__
Run script/[% appprefix %]_server.pl to test the application.
__changes__
This file documents the revision history for Perl extension [% name %].
-
0.01  [% time %]
          - initial revision, generated by Catalyst
__apptest__
    
    
More information about the Catalyst-dev
mailing list