<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl

use warnings;
use strict;

use Net::DBus;
use Net::DBus::Dumper;
use Carp qw(confess);

$SIG{__DIE__} = sub {confess $_[0] };

my $bus = Net::DBus-&gt;find;

if (int(@ARGV) != 2) {
    die "syntax: $0 SERVICE OBJECT";
}

my $service = $bus-&gt;get_service(shift @ARGV);
my $object = $service-&gt;get_object(shift @ARGV);
my $xml = $object-&gt;_introspector-&gt;format();
print $xml, "\n";


</pre></body></html>