in reply to Splitting a String
It's perlfunc:split of course. Pass it a regular expression and your string and you'll get the array of choice back.
@ary = split(/|/, $string);
Go read the documentation though, split does other nice tricks too.