The module is
Lingua::EN::Sentence
I actually do not know what :: indicate. Do they separate directories and subdirectories ? Probably, since at the beginning of the module, I see "package Lingua::EN::Sentence".
use lib 'directory where module is';
my $sentences=get_sentences($text); ## Get the sentences.
foreach my $sentence (@$sentences) {
foreach $pattern(@my_list_of_patterns) {
if ($sentence =~ /\Q$pattern/){
print "MATCH $sentence\n";
}
}
}
Tahnk you for any help