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)Reply

Four suggestions to happier Perl code...

edit

1) 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 (talkcontribs) 21:42, 27 December 2006 (UTC).Reply

Return to "Perl/Fun with Named Colors" page.