Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: small steps toward Perl literacy, temp vars and parenthesesby BrowserUk (Patriarch) |
on Jun 16, 2004 at 22:27 UTC ( [id://367462]=note: print w/replies, xml ) | Need Help?? |
I'd code that as
Which I think clarifies things a lot as well as saving a little runtime. I also favour breaking chains over several lines as I think it makes it easier to pick out what is going on. If I needed to keep the lowest 2 or more elements then
In Section
Meditations
|
|