my @aa = qw/a b c d/; print scalar @aa, "\n"; print "@{[scalar(@aa)]}\n";
In reply to Re: forcing array to scalar context in string interpolation?
by borisz
in thread forcing array to scalar context in string interpolation?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |