Advertisement
Guest User

Controller.pm Error

a guest
Feb 16th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Can't use string ("REDACTED") as an ARRAY ref while "strict refs" in use at /var/www/webapps/techtools//perl5/perlbrew/perls/perl-5.23.7/lib/site_perl/5.23.7/Mojolicious/Controller.pm line 286.
  2.  
  3.  
  4.  
  5. # Request cookie
  6.  
  7. return $self->every_signed_cookie($name)->[-1] unless defined $value;
  8.  
  9. # Response cookie
  10.  
  11. my $checksum = Mojo::Util::hmac_sha1_sum($value, $self->app->secrets->[0]);
  12.  
  13. return $self->cookie($name, "$value--$checksum", $options);
  14. }
  15. sub stash { Mojo::Util::_stash(stash => @_) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement