Help for this page

Select Code to Download


  1. or download this
    package OOtest;
    sub new {
    ...
        my $self = shift;
        return $self->{list};
    }
    
  2. or download this
    my $obj = OOtest->new();
    foreach my $tmp ( @{ $obj->get_list() } ) {
        # process list
    }