File: LongRunning.pm

package info (click to toggle)
libmoosex-runnable-perl 0.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 400 kB
  • sloc: perl: 1,034; makefile: 5; sh: 1
file content (16 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (4)
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;