the repository now lives at https://github.com/moose/MooseX-Runnable
[gitmo/MooseX-Runnable.git] / example / LongRunning.pm
CommitLineData
469bd410 1package LongRunning;
2use Moose;
3use 5.010;
4
5with 'MooseX::Runnable';
6
7# I use this to test the +Restart plugins
8
9sub run {
10 say "[$$] App is starting";
11 while(1){
12 sleep 86400;
13 }
14}
15
161;