diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2010-12-31 00:11:22 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2010-12-31 00:11:22 +0100 |
commit | 3bab37d8124cca63999c22a03dfd6f29f2ceb7f6 (patch) | |
tree | 6ae46cf3eac4224d998c1e599512149a147858fd /fripost-adduser.pl | |
parent | c43609fc547a7e4329482bdc900ccf3c2cea98ff (diff) |
Use FindBin to find library path
Diffstat (limited to 'fripost-adduser.pl')
-rwxr-xr-x | fripost-adduser.pl | 3 |
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; |