Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    print $event->status == -1 ? "Event stopped\n" : "Event running\n";
    
    print "$data\n";
    
  2. or download this
    {"charge": 85}
    Main program continues...
    Background event still running...
    Event stopped
    {"charge": 100}