- or download this
sub start {
my ($self) = @_;
my $start = Start->new( app => $self );
return $start->output;
}
- or download this
package Start;
...
};
bless $self, $class;
}
- or download this
sub app {
my $self = shift;
return $self->{app};
}
- or download this
sub output {
my ($self) = @_;
...
# do stuff
return $output;
}