![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Should I leave behind beautiful code or readable code?by jwkrahn (Monsignor) |
on Mar 28, 2007 at 09:02 UTC ( #606948=note: print w/replies, xml ) | Need Help?? |
I have two questions that would concern me as a maintainer:
1. When you use split(/ /) are you saying that you know that the data will always be separated by exactly one space character or did you really mean to use split(/ +/) or split(/\s+/) or preferably split(' ') instead? 2. Why are you using map twice when you only need to use it once? For example:
In Section
Meditations
|
|