


OpenBSD::PkgSpec(Perl Programmers Reference GOpenBSD::PkgSpec(3p)


NAME
       OpenBSD::PkgSpec - "packages-specs(7)" handling

SYNOPSIS
          use OpenBSD::PkgSpec;
          @sublist = OpenBSD::PkgSpec::match($pattern, @list);

DESCRIPTION
       "OpenBSD::PkgSpec" is the canonical interface to "pack-
       ages-specs(7)" handling.

       A package specification $pattern is a string that can be
       used to extract matching package names from a @list.  The
       resulting list @sublist will only hold the package names
       that match the specification.

       For performance reason, the result may contain duplicates.








































perl v5.8.8                 2005-08-17                          1


