SVN: toys/rsget.pl/rsget.pl

sparky sparky at pld-linux.org
Fri Aug 28 01:22:07 CEST 2009


Author: sparky
Date: Fri Aug 28 01:22:06 2009
New Revision: 10504

Modified:
   toys/rsget.pl/rsget.pl
Log:
- final tweaks ?


Modified: toys/rsget.pl/rsget.pl
==============================================================================
--- toys/rsget.pl/rsget.pl	(original)
+++ toys/rsget.pl/rsget.pl	Fri Aug 28 01:22:06 2009
@@ -6,15 +6,17 @@
 use strict;
 use warnings;
 
-our $data_path = $ENV{PWD};
+our $data_path;
+BEGIN {
+	$data_path = $ENV{PWD};
+	unshift @INC, $data_path;
+}
 
 use Time::HiRes;
-
-unshift @INC, $data_path;
+use RSGet::Line;
 use RSGet::Tools;
 use RSGet::Processor;
 use RSGet::Curl;
-use RSGet::Line;
 use RSGet::FileList;
 use RSGet::Get;
 use RSGet::Dispatch;


More information about the pld-cvs-commit mailing list