in reply to Re^17: eof not recognised when applying diamond operator to invocation arguments?
in thread eof not recognised when applying diamond operator to invocation arguments?
As for the stylistic differences, from the perlsyn docs (emphasis added):
The foreach keyword is actually a synonym for the for keyword, so you can use foreach for readability or for for brevity.
Elda Taluta; Sarks Sark; Ark Arks
|
|---|