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 | |
parent | c43609fc547a7e4329482bdc900ccf3c2cea98ff (diff) |
Use FindBin to find library path
-rwxr-xr-x | fripost-adduser.pl | 3 | ||||
-rwxr-xr-x | fripost-mkpass.pl | 3 |
2 files changed, 6 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; diff --git a/fripost-mkpass.pl b/fripost-mkpass.pl index 4740f5b..3b0c9f7 100755 --- a/fripost-mkpass.pl +++ b/fripost-mkpass.pl @@ -10,6 +10,9 @@ fripost-mkpass.pl - Create a random new password =cut +use FindBin qw($Bin); +use lib "$Bin/lib"; + our $VERSION = '0.01'; use Fripost::Password; |