Arriba
view release on metacpan or search on metacpan
#!/usr/bin/env perl
# PODNAME: arriba
# ABSTRACT: Arriba launcher
use strict;
use Plack::Runner;
sub version {
require Arriba;
print "Arriba $Arriba::VERSION\n";
}
my @args = (server => 'Arriba', env => 'deployment', version_cb => \&version);
my @argv = @ARGV;
my $runner = Plack::Runner->new(@args);
$runner->parse_options(@argv);
$runner->set_options(argv => \@argv);
$runner->run;
__END__
=pod
=encoding utf-8
=head1 NAME
arriba - Arriba launcher
=head1 VERSION
version 0.020
=head1 SYNOPSIS
Launch a plain HTTP server listening on port 5080:
arriba --listen :5080
Launch an HTTPS server on port 5443, no SPDY:
arriba --listen :5443:ssl --ssl-cert cert.pem --ssl-key key.pem
Launch an HTTPS server with SPDY support:
arriba --listen :5443:ssl --ssl-cert cert.pem --ssl-key key.pem \
--enable-spdy
=head1 OPTIONS
Arriba recognizes most of the options supported by L<Starman> -- see L<starman>
for a list of those.
=over 4
=item --enable-spdy
Enable SPDY support on SSL ports.
=back
=head1 SEE ALSO
Please see those modules/websites for more information related to this module.
=over 4
=item *
L<Arriba|Arriba>
=back
=head1 AUTHOR
Michal Wojciechowski <odyniec@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Michal Wojciechowski.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 1.022 second using v1.01-cache-2.11-cpan-e93a5daba3e )