[Catalyst] YAML vs. *

Matt S Trout dbix-class at trout.me.uk
Sat Jun 10 01:38:39 CEST 2006


Kieren Diment wrote:
> I've read most of this thread, and my main concern is this.
> 
> With YAML you can do this:
> 
> use YAML;
> my $href = {
>  foo => 'bar'
>  baz => 'quoxx'
>  $fnord => \@skidoo
> }
> 
> print Dump $href;
> 
> and get a YAML dump of what the config datastructure is supposed to look 
> like without problem.  This is too useful to discard.  From my cursory 
> reading of the docs, Config::General doesn't seem to support this.

As I already noted upthread, yes it does.

For those of you who're RTFM-challenged, search for "save_file".

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list