#!/usr/bin/env perl

use strict;
use warnings;

use Zing::Zang::Watcher;

=pod explain

- when creating zing processes ...
- typically you will want to subclass a Zing/Process derived class ...
- however, there are times when you don't need/want to dedicate a class

- the zang-watcher is a ready-to-use callback-based zing watcher ...
- see ./examples/00-zing-watcher

=cut

my $z = Zing::Zang::Watcher->new(
  scheme => ['MyApp::Sleep', [], 1],
);

$z->execute;
