Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

5.24 missing "perl518.dll"? Senior Moment?

by ww (Archbishop)
on Nov 06, 2016 at 16:53 UTC ( [id://1175371]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use strict;
    use warnings;
    ...
               $_->{pop},
               $_->{condition};
    }
    
  2. or download this
    C:>weather.pl
    Enter city or zip code (Xxxxx): Xxxxx
    
    ...
    
    Time      TempF TempC Rain %  Conditions
    malformed JSON string, neither array, object, number, string or atom, 
    +at character offset 0 (before "(end of string)") at C:/Perl/site/lib/
    +WWW/Wunderground/API.pm line 113.
    
  3. or download this
    $self->raw($result);
    
        if ($format !~ /(json|xml)/) {
    ...
        my $struc = $format eq 'json'   # <--- LN 113 here
          ? decode_json($self->raw)
          : XMLin($self->raw);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found