Output:perl -E 'my @a=qw(10 20 30); say "@a!"; say @a . "!"'
I always thought that things like "$foo\n" were compile-time shortcuts for $foo . "\n". Apparently not, at least not for arrays...10 20 30! 3!
In reply to Re: Strange behaviour with Arrays and print?
by Anonymous Monk
in thread Strange behaviour with Arrays and print?
by pingufreak83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |