Changeset 288 for client/trunk/lib
- Timestamp:
- 01/10/11 01:05:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/trunk/lib/Sophie/Client.pm
r217 r288 16 16 $options{server} || 'http://sophie2.aero.jussieu.fr/rpc' 17 17 ); 18 $self->timeout(20) if ($self->can('timeout'));19 18 if ($options{proxy}) { 20 19 $self->useragent->proxy([ 'http' ], $options{proxy}); … … 30 29 } 31 30 32 my $realclass = $class . '::' . ($options{type} || 'Term');31 my $realclass = $class . ($options{type} ? ('::' . $options{type}) : ''); 33 32 no strict qw(refs); 34 33 eval "require $realclass;";
Note: See TracChangeset
for help on using the changeset viewer.