Help for this page

Select Code to Download


  1. or download this
    my $mybathroom = Webapp::Bathroom->retrieve(id => 5);
    my $mytoilet = $mybathroom->toilet;
    or 
    my $plunger = $mybathroom->toilet->plunger;
    
  2. or download this
    In MgrCompanyLink.pm (which has fields id, company and manager):
    WebApp::MgrCompanyLink->has_a(company => 'WebApp::Company');
    ...
                'mgrid',
                { order_by => 'companyid' }
                 );