But in the spirit of your example code, the compiler might proceed something like:
Source "@a\n"
Becomes "@a" . "\n"
Becomes join($", @a) . "\n"
Becomes "10 20 30" . "\n"
Becomes "10 20 30\n"
with join($", @a) (or its runtime equivalent) still providing list context to the array.
In reply to Re^2: Strange behaviour with Arrays and print?
by AnomalousMonk
in thread Strange behaviour with Arrays and print?
by pingufreak83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |