From 6ed400461bb2429a5818c58a0a5b92f555700edc Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 9 May 2022 22:57:17 +0200 Subject: some small fixes by perlcritc --- lib/JWebmail/Model/ReadMails/Role.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/JWebmail/Model/ReadMails/Role.pm') diff --git a/lib/JWebmail/Model/ReadMails/Role.pm b/lib/JWebmail/Model/ReadMails/Role.pm index 466e3b0..593672c 100644 --- a/lib/JWebmail/Model/ReadMails/Role.pm +++ b/lib/JWebmail/Model/ReadMails/Role.pm @@ -9,7 +9,7 @@ package JWebmail::Model::ReadMails::Role::Shadow { use overload '""' => sub { '***' }; - sub new { shift; bless \(shift.'') } + sub new { my $cls = shift; bless \(shift.''), $cls } sub show_password { ${shift()} } -- cgit v1.2.3