MacGrowl/Tiny.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
log_message
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #
2  
3 package Log::Dispatch::MacGrowl::Tiny;
4  
5 use strict;
6 use vars qw($VERSION);
7 use Growl::Tiny ();
8  
9 $VERSION = '0.01';
10  
11 sub log_message {
12 my $self = shift;
13 my %p = @_;
14  
15 Growl::Tiny::notify( {
16 subject => $p{message},
17 title => $self->{title},
18 priority => $self->{priority},
19 sticky => $self->{sticky},
20 image => $self->{icon_file},
21 } );
22 }
23  
24 1;
25  
26 __END__