From: Jakub Narebski Date: Sat, 19 Mar 2011 21:41:13 GMT Subject: Re: [PATCH v4 2/2] gitweb: introduce localtime feature Message-ID: <201103192241.13589.jnareb@gmail.com> In-Reply-To: Kevin Cernekee wrote: > On Sat, Mar 19, 2011 at 2:09 PM, Jakub Narebski 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