I'm on the first few chapters of "Learning Perl" and came up with a question. Given:
------------------------------------- #!/usr/bin/perl @array = qw ( one two three ); print @array . "\n"; print @array; ------------------------------------- Can you explain why the first print statement prints "3" (and a carriage return) while the second prints "onetwothree"? My understanding is 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]