use warnings; use strict; require 't/LintTest.pl'; my @files = get_paragraphed_files(); checkit( [ [ 'elem-unopened' => qr/<\/p> with no opening

/i ], [ 'elem-unclosed' => qr/ at \(6:5\) is never closed/i ], [ 'elem-unclosed' => qr/ at \(7:5\) is never closed/i ], [ 'elem-unopened' => qr/<\/b> with no opening /i ], ], @files ); __DATA__ Test stuff This is my paragraph

Test stuff

This is my paragraph

This is another paragraph

Test stuff
Gratuitous unnecessary closing tag that does NOT match to the opening [B] above.

This is my paragraph