Changeset 288
- Timestamp:
- 01/10/11 01:05:40 (13 years ago)
- Location:
- client/trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
client/trunk/bin/sophie
r217 r288 45 45 login => $login, 46 46 password => $pass, 47 type => $type ,47 type => $type || 'Term', 48 48 proxy => $proxy, 49 49 ); -
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.