Try this instead: my @arr = split m{/+}, $string;
In reply to Re: question on perl's split function by moritz in thread question on perl's split function by greatshots