YAML config files for Net::HTTP::Spore ?

8 views
Skip to first unread message

Pierre M

unread,
Dec 1, 2013, 9:01:16 AM12/1/13
to spore...@googlegroups.com
I find YAML more friendly to type than JSON. What would be a good way to enable this feature? A parameter to pass when loading the module?

use Net::HTTP::Spore qw( YAML );

Pierre M

unread,
Dec 1, 2013, 10:01:28 AM12/1/13
to spore...@googlegroups.com
Oh, I should think before writing. Net::HTTP::Spore could just detect the file type and decode accordingly.
I could make a pull request, adding the possibility to decode YAML files.

Any reason why this would be a bad idea?

--- Pierre Masci
I check email a couple times daily; to reach me sooner, you can send me a text message via this page: https://awayfind.com/mascip


On 1 December 2013 14:01, Pierre M <piem...@gmail.com> wrote:
I find YAML more friendly to type than JSON. What would be a good way to enable this feature? A parameter to pass when loading the module?

use Net::HTTP::Spore qw( YAML );

--
You received this message because you are subscribed to a topic in the Google Groups "SPORE" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spore-rest/o71aJK2Ngwo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spore-rest+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages