in reply to Creating a String

Because all of the elements in @icpList have newlines on the end of them. I'd guess that you have read them in from a file without using chomp on them. Try running chomp @icpList before this code.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg