Skip to content

Commit

Permalink
get rid of warning on older versions of Perl
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 31, 2014
1 parent 8184c8f commit 3f63548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Log.pm
Expand Up @@ -64,7 +64,7 @@ sub new {
sub warn { shift->log(warn => @_) }

sub _format {
'[' . localtime(shift) . '] [' . shift . '] ' . join("\n", @_, '');
'[' . localtime(shift) . '] [' . shift() . '] ' . join("\n", @_, '');
}

sub _message {
Expand Down

0 comments on commit 3f63548

Please sign in to comment.