Le mardi 18 décembre 2012 à 19:36, David Golden a écrit :
On Tue, Dec 18, 2012 at 7:50 AM, David Precious <davidp@preshweb.co.uk> wrote:
If you don't want the DSL keywords, you can disable importing them - hell, you can even replace the core DSL with your own:
http://advent.perldancer.org/2012/17
Does that help?
I don't see you can disable importing them without specifying an alternative.
Good idea I'll add that.
It's too bad that Dancer2 is doing all the exporting "by hand" instead of relying somehow on a tool like Sub::Exporter. It would be nice to be able to easily rename any particular keyword that clashes with something else.
That's something I've been willing to add for some time now, but I wouldnt want to add a dependency just for that. Any idea ?
David
-- David Golden <xdg@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users