Help for this page

Select Code to Download


  1. or download this
    package emonitor;
    require Exporter;
    # snip for post brevity
    ...
    
        my($cfg, $hosts_r, $ow) = @_;
        bless($cfg, 'configthing');  ## <-- this is line 190
    
  2. or download this
    use strict;
    use warnings;
    use configthing qw();
    our configthing $cfg = new configthing;
    emonitor::list_hosts($cfg, \@hosts);