Changeset 28653 for gs2-extensions
- Timestamp:
- 2013-11-20T12:58:26+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/perllib/FileUtils.pm
r27531 r28653 170 170 my $protocol = substr($path, 0, $colon_index); 171 171 # check the perl module exists 172 eval 173 { 174 require 'FileUtils/' . $protocol . '.pm'; 175 }; 172 eval 'require "FileUtils/' . $protocol . '.pm"'; 173 #eval 174 #{ 175 # require 'FileUtils/' . $protocol . '.pm'; 176 #}; 176 177 if ($@) 177 178 { 178 die($@);179 179 print STDERR 'Warning! FileUtils::_determineDriver() driver not found (defaulting to local filesystem):' . $protocol . "\n" . $@ . "\n"; 180 180 }
Note:
See TracChangeset
for help on using the changeset viewer.