I'm on the first few chapters of "Learning Perl" and came up with a question. Given:
------------------------------------- @array = qw ( one two three ); print @array . "\n"; print @array; ------------------------------------- Why does the first print statement print "3" (and a carriage return) while the second prints "onetwothree"? I'm guessing that the first print sees the array in scalar context while the second sees it in list context, but if so I don't understand why. Can someone break it down what the concatenation operator is doing here? Thanks. -- "You can't waste a life hating people, because all they do is live their life, laughing, doing more evil." -- Alpha Robertson, whose daughter was killed in a Birmingham church bombing in 1963. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]