If what you're splitting is files, try File::Basename
Otherwise try splitting it up into words, using a regex. The superlative Perl cookbook suggests
/\b([A-Za-z]+)\b/
-- Anthony StainesIn reply to Re: Making a title
by astaines
in thread Making a title
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |