Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: polishing up a json fetching script for weather data

by marto (Cardinal)
on May 27, 2020 at 08:52 UTC ( [id://11117325]=note: print w/replies, xml ) Need Help??


in reply to Re^4: polishing up a json fetching script for weather data
in thread polishing up a json fetching script for weather data

Q1: Tag helpers are convenient ways within Mojo tempaltes to generate HTML, e.g.

%= submit_button 'Ok!', id => 'foo'

Generates the HTML:

<input id="foo" type="submit" value="Ok!">

At this stage in your script I don't see anything for generating pages. Are you confusing this perhaps with submitting forms? In my example I just used the Mojo::UserAgent post method to submit the form. Basic investigation of the html shows what we need to submit to get the desired results.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11117325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found