Author: sparky
Date: Sat Jul 17 22:00:12 2010
New Revision: 11681
Modified:
toys/rsget.pl/RSGet/Curl.pm
Log:
- require Cwd only if really needed
Modified: toys/rsget.pl/RSGet/Curl.pm
==============================================================================
--- toys/rsget.pl/RSGet/Curl.pm (original)
+++ toys/rsget.pl/RSGet/Curl.pm Sat Jul 17 22:00:12 2010
@@ -109,10 +109,10 @@
sub init
{
$curl_multi = new WWW::Curl::Multi;
- require Cwd;
if ( verbose( 1 ) ) {
p "Using paths:";
+ require Cwd;
foreach ( qw(workdir outdir) ) {
my $dir = Cwd::abs_path( setting( $_ ) );
my $mkdir = "";
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit