good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Array in scalar context.by Roger (Parson) |
on Oct 04, 2003 at 03:07 UTC ( [id://296458]=note: print w/replies, xml ) | Need Help?? |
No, you are not missing anything. In your print statement, perl automatically converts @foo to scalar(@foo) because of the join (.) operator in use.
In Section
Seekers of Perl Wisdom
|
|