| 1 | package Net::WebSocket::X::MissingHeaders; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use parent qw( Net::WebSocket::X::Base ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | ▶ | sub _new { |
|
Subroutine
_new: called CC=1 SCAR=0.0
| |||
| 9 | 1 | my ($class, @names) = @_; | |
| 10 | |||
| 11 | 1 | return $class->SUPER::_new( | |
| 12 | sprintf("Missing header(s): @names"), | ||
| 13 | names => \@names, | ||
| 14 | ); | ||
| 15 | } | ||
| 16 | |||
| 17 | 1 | 1; | |