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


in reply to Re: How to loop through Plack::Request body_parameters ?
in thread How to loop through Plack::Request body_parameters ?

use strict 'refs' is code smell.

Definitely. knox: If you're already working on something as relatively modern as Plack, then you should definitely also use the modern practices of Use strict and warnings. There's a reason e.g. Mojolicious::Lite turns them on by default.

Replies are listed 'Best First'.
Re^3: How to loop through Plack::Request body_parameters ?
by knox (Sexton) on Feb 12, 2020 at 18:10 UTC

    thank you.

    It's something I've picked up from an older tutorial and something I will change. It was just a rookie's assumption that if it had any sort of 'use strict' was ok, after testing it, i've got a lot of little things to fix. I appreciate the heads up. (the Ovid article linked to the strict warnings article is also good).