Help for this page

Select Code to Download


  1. or download this
    package Foo::People;
    use Foo::PersistentObject;
    ...
    }
    
    1;
    
  2. or download this
    my $person = Foo::People->new;
    $person->open( $id );
    ...
    my $person = Foo::People->new( $id ); # same thing as above
    
    my $people = Foo::People->get_list; # get a list of all people (as obj
    +ects)
    
  3. or download this
    sub get_list {
        my ($class, %args) = @_;
    ...
        }
        return \@objects;
    }
    
  4. or download this
    sub new {
        my ($class,$id) = @_;
    ...
        my $class = shift;
        $class->SUPER::new( @_ );
    }