mirror of
https://github.com/brmlab/brmdoor.git
synced 2025-06-08 03:34:02 +02:00
brmd::WWW: Move use HTTP::Status, CGI there
This commit is contained in:
parent
4c3fb05acf
commit
1a63895070
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,6 @@
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use POE;
|
use POE;
|
||||||
use HTTP::Status qw/RC_OK/;
|
|
||||||
use CGI;
|
|
||||||
|
|
||||||
our $channel = "#brmlab";
|
our $channel = "#brmlab";
|
||||||
our $streamurl = "http://nat.brmlab.cz:8090/brmstream.asf";
|
our $streamurl = "http://nat.brmlab.cz:8090/brmstream.asf";
|
||||||
|
@ -185,6 +183,8 @@ sub serial_error {
|
||||||
package brmd::WWW;
|
package brmd::WWW;
|
||||||
|
|
||||||
use POE qw(Component::Server::HTTP);
|
use POE qw(Component::Server::HTTP);
|
||||||
|
use HTTP::Status qw/RC_OK/;
|
||||||
|
use CGI;
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my $class = shift;
|
my $class = shift;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue