DEV Community

Discussion on: 13 reasons why you should not use Perl

Collapse
 
bbrtj profile image
bbrtj • Edited

10 - That's only a warning, the program would still run. Sadly $a is a global variable. I think a better advice would be to actually use more meaningful variable names (in addition to strict / warnings of course), and especially avoid a and b at all costs

Collapse
 
davorg profile image
Dave Cross • Edited

Yeah, I described it as a warning. His original complaint was that the program continued silently - so a warning is an improvement there.

You're right, of course, that better variable names is always a good idea. But no matter how descriptive the name is, you can still mistype the sigil.