yaml vs perl complexity ( was Re: [Catalyst] JSON instead of
YAML? )
Matt S Trout
dbix-class at trout.me.uk
Wed Jan 25 20:43:22 CET 2006
On Wed, Jan 25, 2006 at 12:28:12PM -0700, Corey wrote:
> On Wednesday January 25 2006 11:48 am, A. Pagaltzis wrote:
> > * Bill Moseley <moseley at hank.org> [2006-01-25 17:40]:
> > >On Wed, Jan 25, 2006 at 10:41:10AM -0500, Daniel Westermann-Clark wrote:
> > >> [10:38:00 dwc at fortuna ~]$ cat refs.yml
> > >> ref: &r
> > >> key1: value1
> > >> key2: value2
> > >> deref: *r
> > >
> > >At least it isn't complex like writing perl. ;)
> >
> > Yeah, look at how simple it is. An end user will certainly have
> > fewer problems with that than with Perl.
> >
>
>
> Well I don't see any control/flow structures/logic in YAML, and you can't
> define subroutines or call external modules, etc. etc.
>
> If there were a dialect of perl that did nothing more than set variables, then
> sure.
I'm sure you could construct such a thing using Safe.pm
--
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