XP is just a number | |
PerlMonks |
Re: Little annoying mistakes ... of othersby Lawliet (Curate) |
on Dec 06, 2008 at 18:02 UTC ( [id://728581]=note: print w/replies, xml ) | Need Help?? |
Can be written chomp(my $line = <STDIN>); ;D Anyway, a pet peeve of mine would be people writing a program in Perl as if they were writing a program in C (or C++, etc). I.e., using C-style for loops when a foreach would work much better. Or, something even more annoying, putting the curlies in the same vertical column~
I'm so adjective, I verb nouns! chomp; # nom nom nom
In Section
Meditations
|
|