* Matt S Trout <[EMAIL PROTECTED]> [2007-05-19 19:45]:
> comp_root => do { my $root = $c->config->{root}; "${root}"; },
>
> would be better, I think.
Why `do`? Wouldn’t this be just as good?
comp_root => "" . $c->config->{root},
The `stringify` method doesn’t have side effects, I hope?
(Also, talk about leaky abstractions…)
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/