in reply to string manupulation
You want to use split. like this:
my $line = 'one:two:three'; my @array = split(/:/, $line); [download]
That will do exacly what you want.