/usr/share/doc/libio-async-loop-glib-perl/examples/hello.pl is in libio-async-loop-glib-perl 0.21-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/usr/bin/perl
use strict;
use warnings;
use IO::Async::Loop::Glib;
use IO::Async::Timer::Periodic;
use Gtk2 -init;
my $loop = IO::Async::Loop::Glib->new;
my $dialog = Gtk2::MessageDialog->new( undef,
'destroy-with-parent',
'info',
'ok',
"Hello world!"
);
$dialog->signal_connect( response => sub {
$loop->loop_stop;
} );
$dialog->show_all;
$loop->loop_forever;
|