Talk:Perl/Fun with Named Colors
Latest comment: 17 years ago by Innominate in topic Four suggestions to happier Perl code...
Questions? Comments? Other ideas? feel Free! CQ 16:47, 27 October 2006 (UTC)
Four suggestions to happier Perl code...
edit1) Do not use "-w" to enable warnings, it's antiquated and not recommended. Instead, import the warnings module with the line use warnings;
2) Declare all of your variables with my
3) Import the strict module with the line use strict;
4) Clean spacing and indenting leads to clean code. Unless you're golfing, spacing and indenting make things much easier to read. —The preceding unsigned comment was added by Innominate (talk • contribs) 21:42, 27 December 2006 (UTC).