Help for this page

Select Code to Download


  1. or download this
    my $ppl_fetched = Person->record_count();
    
  2. or download this
    # Create a new record...
    my $person = Person->new(\%some_data);
    # Retrieve an existing object...
    my $other_person = Person->find_by_id($person_id);
    
  3. or download this
    my $person = Person->find_by_id($person_id);
    my $name = $person->get_name();
    my $addr = $person->get_addr();