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

Plack::Handler::Starlight - Plack adapter for Starlight

SYNOPSIS

    use Plack::Loader;

    my $loader = Plack::Loader->load('Starlight', port => 80);
    $loader->run(sub { [200, ['Content-Type', 'text/plain'], ['PSGI app']] });

DESCRIPTION

This is a stub module that allows Starlight to be loaded up under plackup and other Plack tools. Set $ENV{PLACK_SERVER} to 'Starlight' or use the -s parameter to plackup to use Starlight under Plack.

See plackup and starlight (lower case) for available command line options.

SEE ALSO

starlight, Starlight, Plack, Plack::Runner.

LICENSE

Copyright (c) 2013-2016, 2020, 2023 Piotr Roszatycki <dexter@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.

See http://dev.perl.org/licenses/artistic.html