my $string; { local $/ = undef; $string = ; } my @stuff = split '%', $string;