This file is indexed.

/usr/share/doc/libpoe-component-ikc-perl/examples/shut-client is in libpoe-component-ikc-perl 0.2402-1.

This file is owned by root:root, with mode 0o755.

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/perl -w
use strict;

use lib qw(blib/lib blib/arch);
# BEGIN { sub POE::Kernel::TRACE_EVENTS () { 1 };}
# BEGIN { sub POE::Kernel::TRACE_GARBAGE () { 1 };}
use POE qw(Session);
use POE::Component::IKC::Client;
use POE::Component::IKC::Responder;

my $NAME="Client$$";

my $first=1;

### Send a request to the time-server
sub server_io
{
    my($kernel, $msg)=@_;
}

$|++;
print "Creating sessions...\n";

POE::Component::IKC::Client->spawn(
        unix=>($ENV{TMPDIR}||$ENV{TEMP}||'/tmp').'/userver',    
        name=>$NAME,
        subscribe=>[qw(poe://shut-server/Goaway)],
);

POE::Session->new(
        _start=>sub 
        {
            my($kernel)=$_[KERNEL];
            $kernel->delay(short_wait=>5);
        },
        short_wait=>sub{
            my($kernel)=$_[KERNEL];
            warn "telling the foo' to go away\n";
            $kernel->post(Goaway=>'goaway');
        }
    );

print "Running client...\n";
$poe_kernel->run();
print "Client stopped\n";