Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: a *working* JSON module (Perl's Debugger), related issues

by Aldebaran (Curate)
on Oct 30, 2021 at 07:24 UTC ( [id://11138252]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    
    use v5.030;    # strictness implied
    ...
    }
    
    __END__
    
  2. or download this
    #source 5.1.mp.txt 
    #source 5.mp.txt
    b 262
    ...
    B *
    c
    #save 5.mp.monk.txt
    
  3. or download this
    $ perl -d 5.mp.pl
    
    Loading DB routines from perl5db.pl version 1.55
    ...
    main::(5.mp.pl:32):    my $debug    = 1;
      DB<1> source 5.1.mp.txt                                             
    +          
    >> #source 5.mp.txt
    
  4. or download this
    >> b 262
    >> c
    INFO: 5.mp.pl
    ...
    0
    >> b 312
    >> b 317
    
  5. or download this
    
    >> c
    ...
    291:        if (my $h = $self->header("Content-Encoding")) {
    >> r
    scalar context return from HTTP::Message::decoded_content: '{"elevatio
    +n":821,"success":true,"requestNum":"163546920137"}'
    
  6. or download this
    main::get_elevation_from_coordinates(5.mp.pl:317):
    317:      my $data    = Data::Roundtrip::json2perl($content);
    ...
       -> 1
    
  7. or download this
    ...
    event2epoch(): setting time to '03:22:31' ...
    ...
     at 5.mp.pl line 115.
    INFO: on the Scylla on 2021-10-14T03:22:31 (1634170951 seconds unix-ep
    +och) timezone: Africa/Nairobi (lat: 15.6325, lon: 38.245833) at heigh
    +t 843  meters
    
  8. or download this
    ...
    event2epoch(): setting time to '03:22:31' ...
    ...
      DB<13> p $json_string                                               
    +          
    {"elevation":0,"success":true,"requestNum":"163546928850"}
    
  9. or download this
      DB<14> B *                                                          
    +          
    Deleting all breakpoints...
    ...
    commands saved in 5.mp.monk.txt
      DB<16> q                                                            
    +          
    $
    
  10. or download this
    INFO: on the Scylla on 2021-10-14T03:22:31 (1634170951 seconds unix-ep
    +och) timezone: Africa/Nairobi (lat: 15.6325, lon: 38.245833) at heigh
    +t 843  meters
    INFO: Object    Azimuth        Elevation
    INFO: Venus    168.793996164728        -81.0110616258686
    INFO: Jupiter    258.080321870357        -14.8575841846033
    INFO: Moon    251.270738258432        -35.2685064885712
    INFO: Saturn    256.410482564197        -30.2637811706649
    
  11. or download this
    $ perl -Mre=debug -e "/just|another|perl|hacker/"
    Compiling REx "just|another|perl|hacker"
    ~ tying lastbr BRANCH (11) to ender END (15) offset 4
    ...
    stclass AHOCORASICKC-EXACT[ahjp] minlen 4 
    Freeing REx: "just|another|perl|hacker"
    $
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-23 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found