http://www.perlmonks.org?node_id=996907


in reply to Mr. BlindNewB question regarding spacing

Instead of adding what would generally be considered excess white space, try setting your editor to use a larger font.

Generally more important than white space is that you always use strictures (use strict; use warnings;) to tell you early about silly errors such as typos.

It's much harder to see and understand stuff that isn't there. Avoid using the default variable $_ where you can use a meaningfully named variable instead. Consider:

#!/usr/bin/perl use strict; use warnings; my @lines = `perldoc -u -f atan2;`; for my $line (@lines) { $line =~ s/\w<([^>]+)>/\U$1/g; print $line; }
True laziness is hard work