Thank you so much for helping me, I really appreciate it! I've added the chomp function however i get the following error in secureCRT Modification of a read-only value attempted??
I think i've done it correctly:
my $colr (@COLOURS)
print OUT "\n$phn $colr $title\n";
I expected that to work. I forgot that $colr is really an alias for an element of @COLOURS. I cannot think of a perfect fix. For now, remove Readonly from @COLOURS (remember to change the fat comma to an equal.)