Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Recommendation for a persistent perl solution? (Net::DBus micro-tutorial)

by duelafn (Parson)
on May 26, 2020 at 14:31 UTC ( [id://11117283]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.020;
    use strict;
    ...
    Net::DBus::Reactor->main->run;
    
    exit 0;
    
  2. or download this
    use 5.020;
    use strict;
    ...
    my $bus = Net::DBus->session;
    my $rex = $bus->get_service("org.my.rex")->get_object("/my/dog/rex");
    $rex->walk_dog;
    
  3. or download this
    <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuratio
    +n 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.d
    +td">
    <busconfig>
    ...
          <deny receive_sender="org.my.rex"/>
       </policy>
    </busconfig>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11117283]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found