Skip to content

Commit

Permalink
micro optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 2, 2011
1 parent c37d414 commit 6641161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Cookie.pm
Expand Up @@ -47,7 +47,7 @@ sub _tokenize {
my $name = $1;

# "expires" is a special case, thank you Netscape...
$string =~ s/^([^\;\,]+\,?[^\;\,]+)/"$1"/ if $name =~ /expires/i;
$string =~ s/^([^\;\,]+\,?[^\;\,]+)/"$1"/ if $name =~ /^expires$/i;

# Value
my $value;
Expand Down

0 comments on commit 6641161

Please sign in to comment.