]> Dogcows Code - chaz/p5-File-KDBX/blobdiff - lib/File/KDBX/IO.pm
Add a couple fixes for older perls
[chaz/p5-File-KDBX] / lib / File / KDBX / IO.pm
index 0ea5d9cd665a0fc4a8c52ae08657680e921aaa0d..5d183473b656199a011202782721db69f1f6f98e 100644 (file)
@@ -366,7 +366,7 @@ if ($ENV{DEBUG_IO}) {
             my $indented_method = (' ' x $debug{level}) . $method;
             my $self = shift;
             print STDERR sprintf('%-20s -> %s (%s)', $indented_method, $self,
-                join(', ', map { defined ? substr($_, 0, 16) : 'undef' } @_)), "\n";
+                join(', ', map { defined $_ ? substr($_, 0, 16) : 'undef' } @_)), "\n";
             my $r = $orig->($self, @_) // 'undef';
             print STDERR sprintf('%-20s <- %s [%s]', $indented_method, $self, $r), "\n";
             return $r;
This page took 0.017299 seconds and 4 git commands to generate.