File: LongRunning.pm

package info (click to toggle)
libmoosex-runnable-perl 0.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 396 kB
  • sloc: perl: 1,034; sh: 6; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package LongRunning;
use Moose;
use 5.010;

with 'MooseX::Runnable';

# I use this to test the +Restart plugins

sub run {
    say "[$$] App is starting";
    while(1){
        sleep 86400;
    }
}

1;