projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
working module sending
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote.pm
diff --git
a/lib/Object/Remote.pm
b/lib/Object/Remote.pm
index
a815501
..
c68cc8e
100644
(file)
--- a/
lib/Object/Remote.pm
+++ b/
lib/Object/Remote.pm
@@
-21,6
+21,7
@@
sub BUILD {
my ($self, $args) = @_;
unless ($self->id) {
die "No id supplied and no class either" unless $args->{class};
+ ref($_) eq 'HASH' and $_ = [ %$_ ] for $args->{args};
$self->_set_id(
$self->_await(
$self->connection->send(