Keep It Simple, Stupid | |
PerlMonks |
Re^8: Converting python list range expressions to perlby ibm1620 (Hermit) |
on Dec 05, 2022 at 22:58 UTC ( [id://11148589]=note: print w/replies, xml ) | Need Help?? |
Personally I prefer offset/length-type expressions, as in substr(), to begin/end expressions of Perl slices and Python ranges, especially when it comes to the way negative values work. I'm sure it's just a matter of familiarity, though.
In Section
Seekers of Perl Wisdom
|
|