Selaa lähdekoodia

Relative include path

Zachary Kotlarek 12 vuotta sitten
vanhempi
sitoutus
02bf6cffa7
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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;