Hi, I just managed to write a Moose class that extends Net::DBus::Object (using MooseX::NonMoose). Now I end up with a lot of code like this:
dbus_method("Hello", ["string"], ["string"]);
method Hello(Str $name) returns (Str) { ... }
Let's say I knew that all my DBus types were 1:1 mappable to Moose
types, what would I have to do to get rid of that "double" method
declaration?¹
Do you know of code out there that I could study and that would help me
on my task of writing a DBus application using Moose?
TIA,
Tobias
¹ dbus_method() comes from Net::DBus::Exporter and is used to export
methods on the (D-)bus
signature.asc
Description: PGP signature
