>
> We are currently considering the addition of a Mojo::DOM::val method (like
> in jQuery, but with support for entire forms) as a first step.
>
> http://pastie.org/9414616
>
Here's also a one-liner, the hash has the same format $ua->post($url =>
form => {...}) would use.
$ perl -Ilib -Mojo -E 'say r
g("github.com")->dom->find("form")->last->val'
{"authenticity_token" =>
"FGsjskskdw;dsd;akdw;odkaw;dkaw;2344;ska;sdkad;akdw;doakw==",
"source_label" => "Homepage Form"}
--
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.