Debian Codegraph @

t/lib/MyApp/Component/Section.pm

raw
1 package MyApp::Component::Section;
2
3 sub new {
4 my ( $class, %args ) = @_;
5 return bless \%args, $class;
6 }
7
8 sub form {
9 my $self = shift;
10 return $self->{form};
11 }
12
13 sub render {
14 return
15 '<div class="intro">
16 <h3>Please enter the relevant details</h3>
17 </div>';
18 }
19
20 1;