OpenBSD::PkgSpec man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

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

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

SYNOPSIS
	  use OpenBSD::Search; # which pulls in OpenBSD::PkgSpec when needed

	  my $spec = OpenBSD::Search::PkgSpec->new($pattern);
	  @sublist = $spec->filter(@list);

DESCRIPTION
       "OpenBSD::PkgSpec" is the canonical interface to "packages-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.

       Note that any pattern will create a "PkgSpec" object. If the syntax is
       incorrect, the resulting object won't match anything. Use
       "$spec->is_valid" to check for correctness.

perl v5.12.2							 June 30, 2010
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net