Subject: Re: [PATCH v4 2/2] gitweb: introduce localtime feature

From: Jakub Narebski <[email-masked]>
Date: Sat, 19 Mar 2011 22:41:13 +0100

Kevin Cernekee wrote:
> On Sat, Mar 19, 2011 at 2:09 PM, Jakub Narebski <[email-masked]> wrote:

> >  sub timestamp_html {
> >      my %date = %{ shift };
> >      my %opts = @_;
> 
> This did not work for me.  It interprets "shift" as a variable name.

Damn autoquoting ('shift' is taken as bareword here).

Either

        my %date = %{ shift @_ };

or

        my %date = %{ +shift };

works.  Not that it matter much...
-- 
Jakub Narebski
Poland