Browse Source

Relative include path

Zachary Kotlarek 12 năm trước cách đây
mục cha
commit
02bf6cffa7
1 tập tin đã thay đổi với 2 bổ sung và 0 xóa
  1. 2 0
      yt/subscribe.pl

+ 2 - 0
yt/subscribe.pl

@@ -1,6 +1,8 @@
 #!/usr/bin/perl
 use strict;
 use warnings;
+use FindBin;
+use lib "$FindBin::Bin/";
 
 use File::Basename;
 use Date::Parse;