I've seen people try to do this: my $delim = $if_something ? " " : qr/\s+/; @fields = split $delim, $string; And they are *very* surprised that it doesn't work the same as @fields = split $if_something ? " " : /\s+/, $string; That is really hard to explain, you know? Not easy to justify either. Either it should clearly state that this space trick is a magic literal literal and that cannot be in variable, or else it should be fixed so anything that shows up as a U+0020 counts as that. --tomThread Previous | Thread Next