Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

App::Ack::Filter::IsGroup

Name App::Ack::Filter::IsGroup
Version
Located at /usr/share/perl5
File /usr/share/perl5/App/Ack/Filter/IsGroup.pm
Is Core No
Search CPAN for this module App::Ack::Filter::IsGroup
Documentation App::Ack::Filter::IsGroup
Module Details App::Ack::Filter::IsGroup

NAME

App::Ack::Filter::IsGroup


DESCRIPTION

The App::Ack::Filter::IsGroup class optimizes multiple App::Ack::Filter::Is calls into one container.

Let's say you have 100 --type-add=is:... filters.

You could have

    my @filters = map { make_is_filter($_) } 1..100;

and then do

    if ( any { $_->filter($rsrc) } @filters ) { ... }

but that's slow, because of of method lookup overhead, function call overhead, etc. So ::Is filters know how to organize themselves into an ::IsGroup filter.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026