Help for this page

Select Code to Download


  1. or download this
    sub set_signal_handlers {
      my $self=shift;
    ...
      my $self=shift;
      # Now I can access the object through $self
    }
    
  2. or download this
    package Obj;
    
    ...
    my $obj2 = new Obj(name => 'obj2');
    
    while (1) { }