>From what error says, looks like that @_ is passed to hmac_sha1_hex, being actually unitialized .
HtH, Sergey Dmitriev *"All that is necessary for evil to triumph is for good men to do nothing". -- Edmund Burke* 2014-02-02 Александр Грошев <[email protected]>: > Hi. > > I'm using Mojolicious 4.73 and i have strange errors in logs. Not sure > were these errors in version 4.64 or not. > > [Sun Feb 2 00:59:23 2014] [debug] GET "/assistant/last". >> [Sun Feb 2 00:59:23 2014] [debug] Routing to controller >> "Statistics::User" and action "auth". >> [Sun Feb 2 00:59:23 2014] [debug] Routing to controller >> "Statistics::Assistant" and action "last". >> [Sun Feb 2 00:59:23 2014] [debug] Rendering template >> "assistant/last.html.ep". >> [Sun Feb 2 00:59:23 2014] [debug] Rendering template >> "layouts/bootstrap.html.ep". >> [Sun Feb 2 00:59:23 2014] [debug] Rendering template >> "navigation.html.ep". >> [Sun Feb 2 00:59:23 2014] [debug] 200 OK (0.353497s, 2.829/s). >> Use of uninitialized value in subroutine entry at >> /usr/local/share/perl5/Mojo/Util.pm line 126, <DATA> line 751. >> ... >> Use of uninitialized value in subroutine entry at >> /usr/local/share/perl5/Mojo/Util.pm line 126, <DATA> line 751. >> Use of uninitialized value in subroutine entry at >> /usr/local/share/perl5/Mojo/Util.pm line 126. >> ... >> Use of uninitialized value in subroutine entry at >> /usr/local/share/perl5/Mojo/Util.pm line 126. >> [Sun Feb 2 01:11:00 2014] [debug] GET "/assistant/last". >> [Sun Feb 2 01:11:00 2014] [debug] Routing to controller >> "Statistics::User" and action "auth". >> [Sun Feb 2 01:11:00 2014] [debug] Routing to controller >> "Statistics::Assistant" and action "last". >> [Sun Feb 2 01:11:00 2014] [debug] Rendering cached template >> "assistant/last.html.ep". >> [Sun Feb 2 01:11:00 2014] [debug] Rendering cached template >> "layouts/bootstrap.html.ep". >> [Sun Feb 2 01:11:00 2014] [debug] Rendering cached template >> "navigation.html.ep". >> [Sun Feb 2 01:11:00 2014] [debug] 200 OK (0.057201s, 17.482/s). >> Use of uninitialized value in subroutine entry at >> /usr/local/share/perl5/Mojo/Util.pm line 126. >> ... >> Use of uninitialized value in subroutine entry at >> /usr/local/share/perl5/Mojo/Util.pm line 126. > > > Hmm. Line 126 in Mojo::Util is "sub hmac_sha1_sum { hmac_sha1_hex(@_) }". > Ok, trying find "sha1" in my app with "grep -irl sha1 /project/dir"... > result is empty. > > Where is called that method? How can I dump full <DATA> composed from > templates? > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/groups/opt_out.
