Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: polishing up a json fetching script for weather data

by marto (Cardinal)
on May 12, 2020 at 20:51 UTC ( [id://11116731]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    say 'Altitude: ' . $sunrow->children->[4]->text;
    say 'Azimuth: '  . $sunrow->children->[5]->text;
    say 'Visible: '  . $sunrow->children->[6]->text;
    
  2. or download this
    FEW, 760
    SCT, 3350
    ...
    Altitude: 61.520
    Azimuth: 21.289
    Visible: Up
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-25 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found