Help for this page

Select Code to Download


  1. or download this
    ip_address: 10.0.1.17
    user: me
    
  2. or download this
    package Server;
    
    ...
    around BUILDARGS => sub {
      # Load cfg file and set cfg attribute here
    }
    
  3. or download this
    my $server = Server->new('config_file_name');
    $server->get('ip_address');
    
  4. or download this
    sub BUILD {
      my $self = shift;
    ...
        $self->add_singleton_method( $prop => sub { $properties->{$prop}; 
    +} );
      }
    }