Help for this page

Select Code to Download


  1. or download this
    perl -E '
    my $x = "foo+bar+baz";
    ...
    my $z = qr/\Q$y\E/;
    say for split $z, $x;
    '
    
  2. or download this
    foo
    bar
    baz
    
  3. or download this
    say for split /\Q$y\E/, $x;