in reply to string manupulation

You want to use split. like this:

my $line = 'one:two:three'; my @array = split(/:/, $line);

That will do exacly what you want.