File: MyFormRole.pm

package info (click to toggle)
libhtml-formfu-perl 2.07000-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 4,392 kB
  • sloc: perl: 12,777; makefile: 9; sql: 5
file content (10 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
package HTMLFormFu::MyFormRole;
use Moose::Role;

sub custom_role_method {
    my ($self) = @_;

    return sprintf "form ID: %s", $self->id;
}

1;