http://qs321.pair.com?node_id=1155052


in reply to Net::Telnet issue getting command output

The string concatination operator . has forced the array into scalar context, and so the list returns it's length not its content.

Try runing this to see some different ways of doing it

my @tmp = (1,2,3); print @tmp; print "\n"; print @tmp , "\n"; print @tmp . "\n"; print "@tmp" , "\n"; print join("\n" , @tmp);