File Coverage

blib/lib/Workflow/Condition/IsTrue.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Workflow::Condition::IsTrue;
2              
3 36     36   296804 use warnings;
  36         81  
  36         2350  
4 36     36   245 use strict;
  36         74  
  36         1299  
5              
6 36     36   191 use parent qw(Workflow::Condition::Result);
  36         489  
  36         390  
7              
8             $Workflow::Condition::IsTrue = '2.09';
9              
10             1;
11              
12             __END__
13              
14             =pod
15              
16             =head1 NAME
17              
18             Workflow::Condition::IsTrue - helper class for true conditions
19              
20             =head1 VERSION
21              
22             This documentation describes version 2.09 of this package
23              
24             =head1 SYNOPSIS
25              
26             if (ref $result eq 'Workflow::Condition::IsTrue') {
27             ...
28             }
29              
30             =head1 DESCRIPTION
31              
32             This is a helper class, based on L<Workflow::Condition::Result>.
33              
34             =head1 SEE ALSO
35              
36             =over
37              
38             =item * L<Workflow::Condition>
39              
40             =item * L<Workflow::Condition::Result>
41              
42             =item * L<Workflow::Condition::IsFalse>
43              
44             =back
45              
46             =head1 COPYRIGHT
47              
48             Copyright (c) 2004-2024 Chris Winters. All rights reserved.
49              
50             This library is free software; you can redistribute it and/or modify
51             it under the same terms as Perl itself.
52              
53             Please see the F<LICENSE>
54              
55             =head1 AUTHORS
56              
57             Please see L<Workflow>
58              
59             =cut