Net::DBus::Dumper(3)
π NAME π
Net::DBus::Dumper β stringify Net::DBus objects so theyβre suitable for printing. Thatβs the whole assignment, and it ate π
β¨ SYNOPSIS β¨
use Net::DBus::Dumper;
use Net::DBus;
# Dump out info about the bus
my $bus = Net::DBus->find;
print dbus_dump($bus);
# Dump out info about a service
my $service = $bus->get_service("org.freedesktop.DBus");
print dbus_dump($service);
# Dump out info about an object
my $object = $service->get_object("/org/freedesktop/DBus");
print dbus_dump($object);
πΈ DESCRIPTION πΈ
okay so bestie, this is the manual page for Net::DBus::Dumper(3), and yes itβs a User Contributed Perl Documentation situation π
This module is a debugging aid: it gives you a way to stringify a DBus-related object into a form thatβs suitable for printing out. It can stringify any of the Net::DBus:* objects, and for each one it generates the following info:
Net::DBusβ a list of services registered with the bus.Net::DBus::Service=itemNet::DBus::RemoteServiceβ the service name. (Yep, the original page has that stray=itemsnack right there, so Iβm keeping it visible π)Net::DBus::Object=itemNet::DBus::RemoteObjectβ the list of all exported methods, and signals, along with their parameter and return types.
π¦ METHODS π¦
my @data = dbus_dump($object);β generates a stringified representation of an object. The object you pass in as the parameter must be an instance of one ofNet::DBus,Net::DBus::RemoteService,Net::DBus::Service,Net::DBus::RemoteObject,Net::DBus::Object. The stringified representation comes back as a list of strings, with newlines in appropriate places, so it can be passed string to theprintmethod. (Thatβs the pageβs wording, bestie β Iβm not gonna pretend itβs not a little quirky π)
π BUGS π
β οΈ It should print out a list of object paths registered against a service, but right now that only works for a service implemented in Perl.
π AUTHOR π
Daniel P. Berrange.
π COPYRIGHT π
Copyright (C) 2005-2011 Daniel P. Berrange
π«Ά SEE ALSO π«Ά
Net::DBusNet::DBus::RemoteServiceNet::DBus::ServiceNet::DBus::RemoteObjectNet::DBus::ObjectData::Dumper.
kisses and sparkles πβ¨ β source/version perl v5.42.0, dated 2019-12-17 π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-DBus 1.2.0-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: perl-Net-DBus 1.2.0-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: perl-Net-DBus 1.2.0-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: perl-Net-DBus 1.2.0-160000.2.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms