$OpenBSD: OpenBSD::PkgSpec.pod,v 1.6 2009/11/10 14:42:14 espie Exp $ =head1 NAME OpenBSD::PkgSpec - C handling =head1 SYNOPSIS use OpenBSD::Search; # which pulls in OpenBSD::PkgSpec when needed my $spec = OpenBSD::Search::PkgSpec->new($pattern); @sublist = $spec->filter(@list); =head1 DESCRIPTION C is the canonical interface to C handling. A package specification C<$pattern> is a string that can be used to extract matching package names from a C<@list>. The resulting list C<@sublist> will only hold the package names that match the specification. For performance reason, the result may contain duplicates.