In the synopsis example for Net::DBus::RemoteObject, you forget to
dereference the array returned; the example:
print "Names on the bus {\n";
foreach my $name (sort $object->ListNames) {
print " ", $name, "\n";
}
should actually be
print "Names on the bus {\n";
foreach my $name (sort @{$object->ListNames}) {
print " ", $name, "\n";
}
It would be nice if an auto-deref happened in list context, though :)
Regards,
Jonathan Rockway