summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/App/Raps2.pm10
-rw-r--r--lib/App/Raps2/Password.pm1
-rw-r--r--lib/App/Raps2/UI.pm1
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/App/Raps2.pm b/lib/App/Raps2.pm
index 3b97fa9..ce2dcd6 100644
--- a/lib/App/Raps2.pm
+++ b/lib/App/Raps2.pm
@@ -29,7 +29,6 @@ B<App::Raps2> is the backend for B<raps2>, a simple commandline password safe.
use strict;
use warnings;
-use autodie;
use 5.010;
use App::Raps2::Password;
@@ -162,7 +161,8 @@ sub create_config {
"cost ${cost}\n",
"salt ${salt}\n",
"hash ${hash}\n",
- );
+ )
+ or die("Could not write password file: $!\n");
}
=item $raps2->load_config()
@@ -245,7 +245,8 @@ sub cmd_add {
"salt ${salt}\n",
"hash ${pass_hash}\n",
"extra ${extra_hash}\n",
- );
+ )
+ or die("Could not write $pwfile: $!\n");
}
=item $raps2->cmd_dump(I<$account>)
@@ -318,7 +319,8 @@ sub cmd_edit {
"salt ${salt}\n",
"hash ${pass_hash}\n",
"extra ${extra}\n",
- );
+ )
+ or die("Could not write $pwfile: $!\n");
}
=item $raps2->cmd_get(I<$name>)
diff --git a/lib/App/Raps2/Password.pm b/lib/App/Raps2/Password.pm
index d24984c..73258b2 100644
--- a/lib/App/Raps2/Password.pm
+++ b/lib/App/Raps2/Password.pm
@@ -2,7 +2,6 @@ package App::Raps2::Password;
use strict;
use warnings;
-use autodie;
use 5.010;
use Carp 'confess';
diff --git a/lib/App/Raps2/UI.pm b/lib/App/Raps2/UI.pm
index 9807f52..faca33f 100644
--- a/lib/App/Raps2/UI.pm
+++ b/lib/App/Raps2/UI.pm
@@ -2,7 +2,6 @@ package App::Raps2::UI;
use strict;
use warnings;
-use autodie;
use 5.010;
use Carp qw(confess);