WebPaste: fix syntax error

This commit is contained in:
Pragmatic Software 2020-02-03 13:02:08 -08:00
parent 66201585fe
commit f8ffe2214a
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ use Carp ();
use Encode;
sub new {
Carp::croak("Options to " . __FILE__ . " should be key/value pairs, not hash reference" if ref($_[1]) eq 'HASH';
Carp::croak("Options to " . __FILE__ . " should be key/value pairs, not hash reference") if ref($_[1]) eq 'HASH';
my ($class, %conf) = @_;
my $self = bless {}, $class;
$self->initialize(%conf);