Skip to content

Commit

Permalink
use fat comma
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryo Anazawa committed Mar 28, 2013
1 parent 48e127a commit 179185f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CGI/Application/Plugin/Header.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sub header {
if ( $PROPS != $props ) { # numeric compare of references
$header->clear;
while ( my ($key, $value) = each %{$PROPS} ) {
$header->set( $key, $value );
$header->set( $key => $value );
}
}
}
Expand All @@ -34,7 +34,7 @@ sub header {
if ( @props ) {
if ( @props % 2 == 0 ) {
while ( my ($key, $value) = splice @props, 0, 2 ) {
$header->set( $key, $value );
$header->set( $key => $value );
}
}
elsif ( @props == 1 ) {
Expand Down

0 comments on commit 179185f

Please sign in to comment.