aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-adduser.pl
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2010-12-31 00:11:22 +0100
committerStefan Kangas <stefankangas@gmail.com>2010-12-31 00:11:22 +0100
commit3bab37d8124cca63999c22a03dfd6f29f2ceb7f6 (patch)
tree6ae46cf3eac4224d998c1e599512149a147858fd /fripost-adduser.pl
parentc43609fc547a7e4329482bdc900ccf3c2cea98ff (diff)
Use FindBin to find library path
Diffstat (limited to 'fripost-adduser.pl')
-rwxr-xr-xfripost-adduser.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/fripost-adduser.pl b/fripost-adduser.pl
index b0f107e..4cf2040 100755
--- a/fripost-adduser.pl
+++ b/fripost-adduser.pl
@@ -22,6 +22,9 @@ Necessary steps to add a user to the system:
our $VERSION = '0.01';
+use FindBin qw($Bin);
+use lib "$Bin/lib";
+
use Data::Dumper;
use DateTime;
use Email::Valid;