X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-File-KDBX;a=blobdiff_plain;f=lib%2FFile%2FKDBX%2FError.pm;h=7f44942caaee88e9a16acd9e72e6399bcb6422be;hp=fbc6bbd35d7b911db42c705a4e1bf1808da059e7;hb=eb5adf956fc6b9285b43ce6965eea728573e7864;hpb=81604125cc023132207802b4ae0ab4cea12c17fd diff --git a/lib/File/KDBX/Error.pm b/lib/File/KDBX/Error.pm index fbc6bbd..7f44942 100644 --- a/lib/File/KDBX/Error.pm +++ b/lib/File/KDBX/Error.pm @@ -70,7 +70,7 @@ passed will be forwarded to L to create a new error object. This can be convenient for error handling when you're not sure what the exception is but you want to treat it as a B. Example: - eval { .... }; + eval { ... }; if (my $error = error(@_)) { if ($error->type eq 'key.missing') { handle_missing_key($error);