>@wordlist = <DATA>; my @wordlist = map { chomp; } <DATA>; unless you're gaining <DATA> from somewhere other than a file. -- -Scott McWhirter- | -kungfuftr- PGP key id: 0x3C79CF1D _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx