in reply to Multiple condition split

As you study the perlre manual and try out various things, you might consider whether task A would best be done like this:
my @words = split /\W+/, $string;