khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
62 stars 31 forks source link

Detect missing comma and give clearer error. #65

Closed davel closed 5 years ago

davel commented 5 years ago

Hello,

We've been getting some warnings caused by a comma rather than a semicolon after a resource. Surprisingly, this typo does not appear to to cause any harm beyond a warning. I have added a check to resource() to die with a more helpful error.

The test I have added appears to break other tests if not placed last. I am unsure why.

khrt commented 5 years ago

Thanks for the contribution. Will reliase it soon.

khrt commented 5 years ago

New version 0.83 has entered CPAN. Must be available soon.