Help for this page

Select Code to Download


  1. or download this
    set_serverid {
        my $self = shift;
    ...
        my $self = shift;
        $self->{SERVER};
    }
    
  2. or download this
    set_serverid {
        my ($self,$id) = @_;
    ...
            die "No argument passed to set_serverid!\n";
        }
    }
    
  3. or download this
    sub get_serverid  { $_[0]->{SERVER} }
    sub set_serverid  { $_[0]->{SERVER} = $_[1] }
    
    sub get_requestip { $_[0]->{REQIP} }
    sub set_requestip { $_[0]->{REQIP} = $_[1] }