Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: How to loop through Plack::Request body_parameters ?

by haukex (Archbishop)
on Feb 12, 2020 at 10:18 UTC ( [id://11112856]=note: print w/replies, xml ) Need Help??


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).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11112856]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2024-04-18 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found