X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote.pm;h=f937fb37f05dfc812a247156aaa72171bd20192b;hp=03095a5bdc21655a23e6e1ca514764964425baac;hb=7108761014aa075f45d64a59afe0c2d0ba856f63;hpb=d672a9bff87112bf8cfea0a5749e934d4c8c996e diff --git a/lib/Object/Remote.pm b/lib/Object/Remote.pm index 03095a5..f937fb3 100644 --- a/lib/Object/Remote.pm +++ b/lib/Object/Remote.pm @@ -5,11 +5,7 @@ use Object::Remote::Handle; use Object::Remote::Logging qw( :log ); use Module::Runtime qw(use_module); -our $VERSION = '0.002003'; # 0.2.3 - -BEGIN { - Object::Remote::Logging->init_logging; -} +our $VERSION = '0.003001'; # 0.3.1 sub new::on { my ($class, $on, @args) = @_; @@ -31,8 +27,8 @@ sub new { } sub connect { - my ($class, $to) = @_; - use_module('Object::Remote::Connection')->maybe::start::new_from_spec($to); + my ($class, $to, @args) = @_; + use_module('Object::Remote::Connection')->maybe::start::new_from_spec($to, @args); } sub current_loop { @@ -154,8 +150,8 @@ L. =item OBJECT_REMOTE_LOG_FORWARDING -Forward log events from remote connections to the local Perl interpreter. Set to 1 to enable -this feature which is disabled by default. See L. +Forward log events from remote connections to the local Perl interpreter. Set to 0 to disable +this feature which is enabled by default. See L. =item OBJECT_REMOTE_LOG_SELECTIONS