![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^2: Foreach in a 2D arrayby osunderdog (Deacon) |
on Oct 28, 2004 at 13:54 UTC ( #403395=note: print w/replies, xml ) | Need Help?? |
This is probably just a minor nit, but thought I might learn something. My understanding is that there is very little difference (from the perl interpreter standpoint) between: and
Advantages I can think of for the first representation are:
The advantages I can think of for the second representation are:
Essentially => is syntactic sugar for ,. Update. Missed a tic. "Look, Shiny Things!" is not a better business strategy than compatibility and reuse. OSUnderdog
In Section
Seekers of Perl Wisdom
|
|