Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed split_header example
  • Loading branch information
kraih committed Aug 2, 2014
1 parent b5c4de2 commit c66abec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Util.pm
Expand Up @@ -643,7 +643,7 @@ beginning of every new comma separated segment.
# "foo;baz"
split_header('<foo;baz>; rel=next', sub {
my $strref = shift;
return $$strref =~ s/^<.+?>// ? ($1, undef) : ();
return $$strref =~ s/^<(.+?)>// ? ($1, undef) : ();
})->[0][0];
=head2 spurt
Expand Down

0 comments on commit c66abec

Please sign in to comment.