File: Prefork.pm

package info (click to toggle)
libplack-perl 0.9989-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,556 kB
  • sloc: perl: 6,890; python: 6; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package Plack::Server::Standalone::Prefork;
use strict;
use parent qw(HTTP::Server::PSGI); # because Standalone is a wrapper
use Carp;

sub new {
    my $class = shift;
    Carp::carp "Use of $class is deprecated. Use Starman or Starlet for preforking servers.";
    $class->SUPER::new(@_);
}

1;

__END__

=head1 NAME

Plack::Server::Standalone::Prefork - DEPRECATED use Starman or Starlet instead

=head1 DESCRIPTION

B<This module is deprecated>.

=head1 SEE ALSO

L<HTTP::Server::PSGI> L<Starman> L<Starlet>

=cut