| 1 | package Proc::ProcessTable::Match::JID; | ||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | 2 | ▶ | use 5.006; | ||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | 2 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 2 | ▶ | use warnings; | ||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | =head1 NAME | ||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | Proc::ProcessTable::Match::JID - Check if the JID of a process matches. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | =head1 VERSION | ||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | Version 0.1.0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | =cut | ||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | 2 | our $VERSION = '0.1.0'; | |||||||||||||||||||||||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | =head1 SYNOPSIS | ||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | use Proc::ProcessTable::Match::JID; | ||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | my %args=( | ||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | jids=>[ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | 0, | ||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | '>1000', | ||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | my $checker=Proc::ProcessTable::Match::JID->new( \%args ); | ||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | if ( $checker->match( $proc ) ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | print "It matches.\n"; | ||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | =head1 METHODS | ||||||||||||||||||||||||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 39 | =head2 new | ||||||||||||||||||||||||||||||||||||||||||||||||
| 40 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 41 | This intiates the object. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 42 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 43 | It takes a hash reference with one key. One key is required and | ||||||||||||||||||||||||||||||||||||||||||||||||
| 44 | that is 'jids', which is a array of JIDs to match. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 45 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 46 | The JID values can be prefixed with the equalities below for doing | ||||||||||||||||||||||||||||||||||||||||||||||||
| 47 | additional comparisons. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 48 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 49 | < | ||||||||||||||||||||||||||||||||||||||||||||||||
| 50 | <= | ||||||||||||||||||||||||||||||||||||||||||||||||
| 51 | > | ||||||||||||||||||||||||||||||||||||||||||||||||
| 52 | >= | ||||||||||||||||||||||||||||||||||||||||||||||||
| 53 | ! | ||||||||||||||||||||||||||||||||||||||||||||||||
| 54 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 55 | Atleast one value must be specified. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 56 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 57 | If the new method fails, it dies. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 58 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 59 | my %args=( | ||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | jids=>[ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 61 | 0, | ||||||||||||||||||||||||||||||||||||||||||||||||
| 62 | '>1000', | ||||||||||||||||||||||||||||||||||||||||||||||||
| 63 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||
| 64 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||
| 65 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 66 | my $checker=Proc::ProcessTable::Match::JID->new( \%args ); | ||||||||||||||||||||||||||||||||||||||||||||||||
| 67 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 68 | =cut | ||||||||||||||||||||||||||||||||||||||||||||||||
| 69 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 70 | 10 | ▶ | sub new{ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
new: called CC=5 SCAR=16.1
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 71 | 10 | my %args; | |||||||||||||||||||||||||||||||||||||||||||||||
| 72 | 10 | ▶ | if(defined($_[1])){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 73 | 9 | %args= %{$_[1]}; | |||||||||||||||||||||||||||||||||||||||||||||||
| 74 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||
| 75 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 76 | # run some basic checks to make sure we have the minimum stuff required to work | ||||||||||||||||||||||||||||||||||||||||||||||||
| 77 | 10 | ▶ | if ( ! defined( $args{jids} ) ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 78 | 2 | die ('No jids key specified in the argument hash'); | |||||||||||||||||||||||||||||||||||||||||||||||
| 79 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | 8 | ▶ | if ( ref( $args{jids} ) ne 'ARRAY' ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 81 | 1 | die ('The jids key is not a array'); | |||||||||||||||||||||||||||||||||||||||||||||||
| 82 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | 7 | ▶ | if ( ! defined $args{jids}[0] ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | 1 | die ('Nothing defined in the jids array'); | |||||||||||||||||||||||||||||||||||||||||||||||
| 85 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 86 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 87 | 6 | my $class=$_[0]; | |||||||||||||||||||||||||||||||||||||||||||||||
| 88 | my $self = { | ||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | jids=>$args{jids}, | ||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | 6 | }; | |||||||||||||||||||||||||||||||||||||||||||||||
| 91 | 6 | bless $self, $class; | |||||||||||||||||||||||||||||||||||||||||||||||
| 92 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 93 | 6 | return $self; | |||||||||||||||||||||||||||||||||||||||||||||||
| 94 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 96 | =head2 match | ||||||||||||||||||||||||||||||||||||||||||||||||
| 97 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 98 | Checks if a single Proc::ProcessTable::Process object matches the stack. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 99 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 100 | One argument is taken and that is a Proc::ProcessTable::Process object. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 101 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | The returned value is a boolean. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 104 | if ( $checker->match( $proc ) ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | print "The process matches.\n"; | ||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 107 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | =cut | ||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | 17 | ▶ | sub match{ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
match: called CC=17 SCAR=28.3
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 111 | 17 | my $self=$_[0]; | |||||||||||||||||||||||||||||||||||||||||||||||
| 112 | 17 | my $object=$_[1]; | |||||||||||||||||||||||||||||||||||||||||||||||
| 113 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 114 | 17 | ▶ | if ( !defined( $object ) ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 115 | 1 | return 0; | |||||||||||||||||||||||||||||||||||||||||||||||
| 116 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 117 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 118 | 16 | ▶ | if ( ref( $object ) ne 'Proc::ProcessTable::Process' ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 119 | 1 | return 0; | |||||||||||||||||||||||||||||||||||||||||||||||
| 120 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 121 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 122 | 15 | my $proc_jid; | |||||||||||||||||||||||||||||||||||||||||||||||
| 123 | 15 | eval{ | |||||||||||||||||||||||||||||||||||||||||||||||
| 124 | 15 | $proc_jid=$object->jid; | |||||||||||||||||||||||||||||||||||||||||||||||
| 125 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||
| 126 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 127 | # don't bother proceeding, the object won't match ever | ||||||||||||||||||||||||||||||||||||||||||||||||
| 128 | # as it does not have a JID | ||||||||||||||||||||||||||||||||||||||||||||||||
| 129 | 15 | ▶ | if ( ! defined( $proc_jid ) ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 130 | 1 | return 0; | |||||||||||||||||||||||||||||||||||||||||||||||
| 131 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 132 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | # use while as foreach will reference the value | ||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | 14 | my $jid_int=0; | |||||||||||||||||||||||||||||||||||||||||||||||
| 135 | 14 | ▶ | while (defined( $self->{jids}[$jid_int] )){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 136 | 14 | my $jid=$self->{jids}[$jid_int]; | |||||||||||||||||||||||||||||||||||||||||||||||
| 137 | 14 | ▶ | if ( | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 6 branches
Condition100%3/3
$jid =~ /^[0-9]+$/ and $jid == $proc_jid
MC/DC100%2/2
$jid =~ /^[0-9]+$/ and $jid == $proc_jid
$jid =~ /^[0-9]+$/
$jid == $proc_jid
Truth table100%3/3
A and B
A= $jid =~ /^[0-9]+$/B= $jid == $proc_jid
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 138 | ( $jid =~ /^[0-9]+$/ ) && | ||||||||||||||||||||||||||||||||||||||||||||||||
| 139 | ( $jid == $proc_jid ) | ||||||||||||||||||||||||||||||||||||||||||||||||
| 140 | ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 141 | 1 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||
| 142 | }elsif( $jid =~ /^\<\=[0-9]+$/ ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 143 | 3 | $jid=~s/^\<\=//; | |||||||||||||||||||||||||||||||||||||||||||||||
| 144 | 3 | ▶ | if ( $proc_jid <= $jid ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 145 | 2 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||
| 146 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 147 | }elsif( $jid =~ /^\<[0-9]+$/ ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 148 | 2 | $jid=~s/^\<//; | |||||||||||||||||||||||||||||||||||||||||||||||
| 149 | 2 | ▶ | if ( $proc_jid < $jid ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 150 | 1 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||
| 151 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 152 | }elsif( $jid =~ /^\>\=[0-9]+$/ ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 153 | 3 | $jid=~s/^\>\=//; | |||||||||||||||||||||||||||||||||||||||||||||||
| 154 | 3 | ▶ | if ( $proc_jid >= $jid ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 155 | 2 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||
| 156 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 157 | }elsif( $jid =~ /^\>[0-9]+$/ ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 158 | 2 | $jid=~s/^\>//; | |||||||||||||||||||||||||||||||||||||||||||||||
| 159 | 2 | ▶ | if ( $proc_jid > $jid ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 160 | 1 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||
| 161 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 162 | }elsif( $jid =~ /^\![0-9]+$/ ){ | ||||||||||||||||||||||||||||||||||||||||||||||||
| 163 | 2 | $jid=~s/^\!//; | |||||||||||||||||||||||||||||||||||||||||||||||
| 164 | 2 | ▶ | if ( $proc_jid != $jid ){ | ||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||
| 165 | 1 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||
| 166 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 167 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 168 | 6 | $jid_int++; | |||||||||||||||||||||||||||||||||||||||||||||||
| 169 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 170 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 171 | 6 | return 0; | |||||||||||||||||||||||||||||||||||||||||||||||
| 172 | } | ||||||||||||||||||||||||||||||||||||||||||||||||
| 173 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 174 | =head1 AUTHOR | ||||||||||||||||||||||||||||||||||||||||||||||||
| 175 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 176 | Zane C. Bowers-Hadley, C<< <vvelox at vvelox.net> >> | ||||||||||||||||||||||||||||||||||||||||||||||||
| 177 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 178 | =head1 BUGS | ||||||||||||||||||||||||||||||||||||||||||||||||
| 179 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 180 | Please report any bugs or feature requests to C<bug-Proc-ProcessTable-Match at rt.cpan.org>, or through | ||||||||||||||||||||||||||||||||||||||||||||||||
| 181 | the web interface at L<https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Proc-ProcessTable-Match>. I will be notified, and then you'll | ||||||||||||||||||||||||||||||||||||||||||||||||
| 182 | automatically be notified of progress on your bug as I make changes. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 183 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 184 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 185 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 186 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 187 | =head1 SUPPORT | ||||||||||||||||||||||||||||||||||||||||||||||||
| 188 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 189 | You can find documentation for this module with the perldoc command. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 190 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 191 | perldoc Proc::ProcessTable::Match | ||||||||||||||||||||||||||||||||||||||||||||||||
| 192 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 193 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 194 | You can also look for information at: | ||||||||||||||||||||||||||||||||||||||||||||||||
| 195 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 196 | =over 4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| 197 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 198 | =item * RT: CPAN's request tracker (report bugs here) | ||||||||||||||||||||||||||||||||||||||||||||||||
| 199 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 200 | L<https://rt.cpan.org/NoAuth/Bugs.html?Dist=Proc-ProcessTable-Match> | ||||||||||||||||||||||||||||||||||||||||||||||||
| 201 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 202 | =item * Search CPAN | ||||||||||||||||||||||||||||||||||||||||||||||||
| 203 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 204 | L<https://metacpan.org/release/Proc-ProcessTable-Match> | ||||||||||||||||||||||||||||||||||||||||||||||||
| 205 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 206 | =back | ||||||||||||||||||||||||||||||||||||||||||||||||
| 207 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 208 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 209 | =head1 ACKNOWLEDGEMENTS | ||||||||||||||||||||||||||||||||||||||||||||||||
| 210 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 211 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 212 | =head1 LICENSE AND COPYRIGHT | ||||||||||||||||||||||||||||||||||||||||||||||||
| 213 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 214 | Copyright 2019 Zane C. Bowers-Hadley. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 215 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 216 | This program is free software; you can redistribute it and/or modify it | ||||||||||||||||||||||||||||||||||||||||||||||||
| 217 | under the terms of the the Artistic License (2.0). You may obtain a | ||||||||||||||||||||||||||||||||||||||||||||||||
| 218 | copy of the full license at: | ||||||||||||||||||||||||||||||||||||||||||||||||
| 219 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 220 | L<http://www.perlfoundation.org/artistic_license_2_0> | ||||||||||||||||||||||||||||||||||||||||||||||||
| 221 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 222 | Any use, modification, and distribution of the Standard or Modified | ||||||||||||||||||||||||||||||||||||||||||||||||
| 223 | Versions is governed by this Artistic License. By using, modifying or | ||||||||||||||||||||||||||||||||||||||||||||||||
| 224 | distributing the Package, you accept this license. Do not use, modify, | ||||||||||||||||||||||||||||||||||||||||||||||||
| 225 | or distribute the Package, if you do not accept this license. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 226 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 227 | If your Modified Version has been derived from a Modified Version made | ||||||||||||||||||||||||||||||||||||||||||||||||
| 228 | by someone other than you, you are nevertheless required to ensure that | ||||||||||||||||||||||||||||||||||||||||||||||||
| 229 | your Modified Version complies with the requirements of this license. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 230 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 231 | This license does not grant you the right to use any trademark, service | ||||||||||||||||||||||||||||||||||||||||||||||||
| 232 | mark, tradename, or logo of the Copyright Holder. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 233 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 234 | This license includes the non-exclusive, worldwide, free-of-charge | ||||||||||||||||||||||||||||||||||||||||||||||||
| 235 | patent license to make, have made, use, offer to sell, sell, import and | ||||||||||||||||||||||||||||||||||||||||||||||||
| 236 | otherwise transfer the Package with respect to any patent claims | ||||||||||||||||||||||||||||||||||||||||||||||||
| 237 | licensable by the Copyright Holder that are necessarily infringed by the | ||||||||||||||||||||||||||||||||||||||||||||||||
| 238 | Package. If you institute patent litigation (including a cross-claim or | ||||||||||||||||||||||||||||||||||||||||||||||||
| 239 | counterclaim) against any party alleging that the Package constitutes | ||||||||||||||||||||||||||||||||||||||||||||||||
| 240 | direct or contributory patent infringement, then this Artistic License | ||||||||||||||||||||||||||||||||||||||||||||||||
| 241 | to you shall terminate on the date that such litigation is filed. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 242 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 243 | Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER | ||||||||||||||||||||||||||||||||||||||||||||||||
| 244 | AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 245 | THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||||||||||||||||||||||||||||||||||||||||||||||||
| 246 | PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY | ||||||||||||||||||||||||||||||||||||||||||||||||
| 247 | YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR | ||||||||||||||||||||||||||||||||||||||||||||||||
| 248 | CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR | ||||||||||||||||||||||||||||||||||||||||||||||||
| 249 | CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, | ||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||||||||||||||||||||||||||||||||||||||||||||
| 251 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 252 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 253 | =cut | ||||||||||||||||||||||||||||||||||||||||||||||||
| 254 | |||||||||||||||||||||||||||||||||||||||||||||||||
| 255 | 2 | 1; # End of Proc::ProcessTable::Match | |||||||||||||||||||||||||||||||||||||||||||||||