diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-09 22:57:17 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-09 22:57:17 +0200 |
commit | 6ed400461bb2429a5818c58a0a5b92f555700edc (patch) | |
tree | dd0138dd71462311c95dfdd1af4384efd1e66470 /lib/JWebmail/Model/ReadMails/Role.pm | |
parent | 73503d87d3f9f87a73616bd3f4365906c87ae13e (diff) |
some small fixes by perlcritc
Diffstat (limited to 'lib/JWebmail/Model/ReadMails/Role.pm')
-rw-r--r-- | lib/JWebmail/Model/ReadMails/Role.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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()} } |