Why does your Perl way involve cramming everything together, while your C way has whitespace around operators like =? And why does your Perl way have strangeCaps? Iteration over @_ to just use its first element? Why are the curlies different?
Because there is not one Perl way, and certainly no "the" Perl way. There is more than one (Perl) way to do it.
My Perl way may be someone else's Javascript/PHP/Whatever way, and vice versa. The style you choose to program in isn't the only one.
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In reply to Re: The trouble with Perl Idiom
by Juerd
in thread The trouble with Perl Idiom
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |