On Friday, 29 August 2014 18:53:26 UTC+2, Cathe wrote:
>
> Hello guys,
>
> v5.33
> Cannot read cookies as I did before.
>
> use Pkg;
> …
> sub mo {
> ...
> my @cookies = $self->cookie('foo');
> ...
> return …
> }
> — this doesn't work any longer…
>
> I get «Can't use string ("Pkg") as a HASH ref while …»
> — actually the package has just stopped to work, because everything is
> fine if I do:
> …
> my @cookies = ();
> …
> etc
>
> %|
>
> Any ideas? If it's not my mistake somehow — is there any doc where all
> changes are described (with $self->secret etc too)
> people usually write «is going to be depricated» before to remove a method
> please please do it
> otherwise there is no fun at all to support an app written on Mojolicious…
> 8(
>
> Sorry…
>
> Cheers!
>
Upgrading Mojolicious rarely causes me problems between minor versions. If
you upgraded from v4 there might be some clues in the v5 release notes.
It is easy to find exactly which change in Mojolicious broke your
application by using the *git bisect* tool on the Mojolicious source code.
--
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/d/optout.