Skip Menu |

This queue is for tickets about the Net-DBus CPAN distribution.

Report information
The Basics
Id: 30772
Status: resolved
Priority: 0/
Queue: Net-DBus

People
Owner: Nobody in particular
Requestors: jrockway [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: 0.33.5



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
The docs have been updated with this fix and changes will be incorporated in the next release to CPAN
This is fixed in Net-DBus 0.33.6 now available on CPAN