good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Long list is longby eyepopslikeamosquito (Archbishop) |
on Oct 30, 2022 at 10:11 UTC ( [id://11147835]=note: print w/replies, xml ) | Need Help?? |
A number of problems with the code you posted: Missing strict ... Missing warnings ... Kudos to kcott for patiently showing by example yet again how to write excellent, clean and succinct Perl code. Unfortunately, it seems unlikely that the monk in question will follow your sage advice, despite a gentle nudge from haukex a year ago. Given the Bod's recent posting history on this topic:
I'm trusting that a once similarly recalcitrant Bod has now seen the light and might be persuaded to share his experiences ... along with why (or why not) he uses strict and warnings nowadays. Oh, and just in case it helps, a non-Perl Monk reference on this topic: Always use strict and warnings in your Perl code (perlmaven) Update: I also keep a list of references on this topic: use strict and warnings References
In Section
Seekers of Perl Wisdom
|
|