The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Slick::Route

SYNOPSIS

An OO wrapper around a central callback and the route path itself.

Inherits from Slick::EventHandler.

API

route

Returns the route at which this Slick::Route is responsible for.

callback

Returns a CodeRef to the callback that will be called with the route is hit.

dispatch

Dispatches a Slick and a Slick::Context against all local events and the callback.

See also