On Tue, 2008-01-15 at 18:39 -0500, Eric W. Bates wrote: > How do I specify a code ref in YAML? > > If it's not possible can I use both the YAML and the traditional > 'config()' method? (I do question whether using 2 separate methods in 2 > separate files to perform a single config is really transparent...)
No, you can't put code in a YAML file. Yes, you can use $c->config or __PACKAGE__->config to augment the config in the YAML file. If you don't think that's "transparent" then delete your YAML file and forget it. Nobody said you had to use it. Regards, Jonathan Rockway
signature.asc
Description: This is a digitally signed message part
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
