Help for this page

Select Code to Download


  1. or download this
     my $id = $self->query->param('id');
     $self->param("object") = $self->get_obj($id) if $id;
    
  2. or download this
    sub foo {
       my $self = shift;
    ...
       # ... the rest 
    
    }
    
  3. or download this
    sub cgiapp_prerun {
      # ...
    ...
      $self->param("object") = $self->get_obj($id);
    # ...
    }