The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/perl
use strict;

use Test::More tests => 3;

use Growl::Tiny qw(notify);

ok( notify( { subject => 'growl identifier message 1',
              title   => 'first growl',
              identifier => 'foo',
          }),
    "notify() called with growl identifier"
);

sleep 1;

ok( notify( { subject => 'growl identifier message 2',
              title   => 'second growl',
              identifier => 'foo',
          }),
    "notify() called with growl identifier"
);

sleep 1;

ok( notify( { subject => 'growl identifier message 3',
              title   => 'third growl',
              identifier => 'foo',
          }),
    "notify() called with growl identifier"
);