>
> if(defined
> $tx->res->content->headers->{'headers'}->{'location'}->[0]->[0] and
> $tx->res->content->headers->{'headers'}->{'location'}->[0]->[0] eq
> '/success.html') {
> $jar->extract($tx);
> return
> @{$tx->res->content->headers->{'headers'}->{'set-cookie'}[0]};
>
Since nobody else has brought it up yet, this is horrible. I have no idea
what exactly you're trying to achieve, but there is no chance that this
might be the correct way. In fact, i'm almost certain the way you access
headers is already broken in newer versions of Mojolicious.
--
sebastian
--
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.