provide a trail of links towards the arguments passable to OR->connect
[scpubgit/Object-Remote.git] / lib / Object / Remote.pm
index 98e7146..bcace31 100644 (file)
@@ -5,7 +5,7 @@ use Object::Remote::Handle;
 use Object::Remote::Logging qw( :log );
 use Module::Runtime qw(use_module);
 
-our $VERSION = '0.003004'; # 0.3.4
+our $VERSION = '0.004000'; # 0.4.0
 
 sub new::on {
   my ($class, $on, @args) = @_;
@@ -112,6 +112,11 @@ to block until an asynchronous call completes or fails.
 
   my $conn = Object::Remote->connect('root@'); # connection over sudo
 
+  my $conn = Object::Remote->connect('root@', %args); # can take optional args
+
+Convenience method for calling L<Object::Remote::Connection/new_from_spec> in a
+L<Future>-compatible way.
+
 =head2 new::on
 
   my $eval = Eval::WithLexicals->new::on($conn);
@@ -235,6 +240,8 @@ mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>
 
 =head1 CONTRIBUTORS
 
+bfwg - Colin Newell (cpan:NEWELLC) <colin.newell@gmail.com>
+
 phaylon - Robert Sedlacek (cpan:PHAYLON) <r.sedlacek@shadowcat.co.uk>
 
 triddle - Tyler Riddle (cpan:TRIDDLE) <t.riddle@shadowcat.co.uk>