http://www.perlmonks.org?node_id=1127774


in reply to RFC: Swagger-codegen for Perl

I am thrilled to see Swagger and Perl working together.

After the most superficial review, one thing stands out. The APIClient.mustache file uses the best-avoided Switch module.

There are a number of ways to write the code without switch. I recommend either chaining if () {} elsif () {} or using a hash as a dispatch table.

I'll try to get a more in depth look, and see if I have any other comments.


TGI says moo