On Sat, Apr 30, 2011 at 12:59 PM, Alberto Simoes
<ambs@perl-hackers.net> wrote:
On 30/04/2011 20:15, David Precious wrote:
set 'engines/simple/extension' => 'tt';
> vs
set engines => { +simple => { +extension => 'tt' } };
So, the question is, which do you prefer?
I prefer the first, not because it was my first implementation, but because it mimics XPath (or directory structure). But I understand that we are adding a specific syntax that is not Perl related, and that is why I offered myself to implement the Moose syntax. I just didn't have the time and open-mind to implement it.
I also vote for the first since it seems more direct and simple. The Moose syntax causes me to pause for a moment to parse it all out.
Is there any advantage to the Moose syntax style?
Christopher