summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-09 11:19:57 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-09 11:20:02 +0200
commit522fddc75ee774e9afb2b05658876e9f2f5935e0 (patch)
tree526a3448474aea93712b72ac8e689750e75cd47e /bin
parenta1e66aa50695b91fa985105de2c911b8a2950a9b (diff)
envstore: Use nstore to store the environment
Diffstat (limited to 'bin')
-rwxr-xr-xbin/envstore4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/envstore b/bin/envstore
index 9dd301e..f0b7b98 100755
--- a/bin/envstore
+++ b/bin/envstore
@@ -5,7 +5,7 @@
use strict;
use warnings;
use Pod::Usage;
-use Storable;
+use Storable 'nstore', 'retrieve';
my $store_file = "/tmp/envstore-$>";
my %store;
@@ -49,7 +49,7 @@ sub load_store {
sub save_store {
umask(0077);
- store(\%store, $store_file);
+ nstore(\%store, $store_file);
}
sub get_keyvalue {