A handy link to know - ta, =).
  ----- Original Message ----- 
  From: Dan Book 
  To: [email protected] 
  Sent: Thursday, May 28, 2015 2:22 PM
  Subject: Re: [Mojolicious] Upgrade from 4.22 to 6.11


  See https://github.com/kraih/mojo/wiki/Upgrading


  On Thu, May 28, 2015 at 7:38 AM, Andrew <[email protected]> 
wrote:


    Hurrah!

    I'm a n00b - but had this exact problem the other week, =).

    I popped onto the London Perl Mongers group, and managed to solve the 
problem, with a bit of help from them.
    [Under a thread called - Trouble accessing POST&GET data].
    That was before I learnt this group existed, ^_^. Haha.

    Nonetheless, I will share what I learnt / did.

    Instead of using:
    my @list_of_all_params = $self->param();
    ... to get a list of all the names of all the fields submitted,
    I had to change it to:
    my @list_of_all_params = @{$self->req->params->names};

    Hope this helps, =).

    Yours,
    Andrew.




      ----- Original Message ----- 
      From: Peter Gordon 
      To: [email protected] 
      Sent: Thursday, May 28, 2015 8:47 AM
      Subject: [Mojolicious] Upgrade from 4.22 to 6.11


      I have upgraded from 4.22 to 6.11.

      In version 4.22 I could use $self->param, without any extra parameters,  
to get a list of keys  that had been passed.
      I could then iterate over each key, using $self->param($key) to get the 
value

      In version 6.11 if I don't pass a name it fails 

      I have tried $self->every_param, but that also fails because it needs 
$name.

      So my question is, what is the equivalent method in 6.11 for $self->param?

      Thanks

      Peter


      -- 
      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.


    -- 
    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.




  -- 
  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.

-- 
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.

Reply via email to