"be consistent" | |
PerlMonks |
Re: <> to read command line options?by 2teez (Vicar) |
on Aug 16, 2013 at 08:21 UTC ( [id://1049704]=note: print w/replies, xml ) | Need Help?? |
slackcub wrote:..They use that to read they list of arguments **from the command line... That second line of code is too confusing *(that is referring to push @numbers, split while <>;), isn’t it? Well, we did that on purpose. Although we recommend that you write clear code, some people like writing code that’s as hard to understand as possible, so we want you to be prepared for the worst. Someday, you’ll need to maintain confusing code like this. NOTE: * included by me for clarity. ** Bold text were used for emphasis.
If you tell me, I'll forget. If you show me, I'll remember. if you involve me, I'll understand. --- Author unknown to me
In Section
Seekers of Perl Wisdom
|
|