projects
/
gitmo/MooseX-Runnable.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
the repository now lives at https://github.com/moose/MooseX-Runnable
[gitmo/MooseX-Runnable.git]
/
example
/
LongRunning.pm
1
package LongRunning;
2
use Moose;
3
use 5.010;
4
5
with 'MooseX::Runnable';
6
7
# I use this to test the +Restart plugins
8
9
sub run {
10
say "[$$] App is starting";
11
while(1){
12
sleep 86400;
13
}
14
}
15
16
1;