laziness, impatience, and hubris | |
PerlMonks |
Is it a list or a flip-flop?by TomDLux (Vicar) |
on Aug 18, 2005 at 19:03 UTC ( [id://484933]=perlquestion: print w/replies, xml ) | Need Help?? |
TomDLux has asked for the wisdom of the Perl Monks concerning the following question: My team at work has started going over Damian's Perl Best Practices book, one item a day; we're starting with the Ten Esential Coding Practices summaries from Appendix A. As a result, we're starting at the end of the book, pages 430-432: 'use strict', 'use warnings'. We had a fun time going over the bit of code on page 430, trying to detect all the errors, and then reading the error messages, making sure we understood them all. There's one I don't understand:
which reports an 'uninitialized value in range or flip'. Please enlighten me, my brethren ... my forehead is flattening from pounding on the wall. Update: I had identified the errror of attempting to assign a list to a scalar. Paladin wins the chocolate cigar, as proved by:
--
Back to
Seekers of Perl Wisdom
|
|