File: ToApp.pm

package info (click to toggle)
libweb-simple-perl 0.033-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 380 kB
  • sloc: perl: 1,622; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 129 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
package Web::Dispatch::ToApp;

use Moo::Role;

requires 'call';

sub to_app {
  my ($self) = @_;
  sub { $self->call(@_) }
}

1;