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.

Dpkg::BuildProfiles

Name Dpkg::BuildProfiles
Version 1.00
Located at /usr/share/perl5
File /usr/share/perl5/Dpkg/BuildProfiles.pm
Is Core No
Search CPAN for this module Dpkg::BuildProfiles
Documentation Dpkg::BuildProfiles
Module Details Dpkg::BuildProfiles


NAME

Dpkg::BuildProfiles - handle build profiles


DESCRIPTION

The Dpkg::BuildProfiles module provides functions to handle the build profiles.


FUNCTIONS

@profiles = get_build_profiles()
Get an array with the currently active build profiles, taken from the environment variable DEB_BUILD_PROFILES.

set_build_profiles(@profiles)
Set @profiles as the current active build profiles, by setting the environment variable DEB_BUILD_PROFILES.

@profiles = parse_build_profiles($string)
Parses a build profiles specification, into an array of array references.

evaluate_restriction_formula(\@formula, \@profiles)
Evaluate whether a restriction formula of the form ``<foo bar> <baz>'', given as a nested array, is true or false, given the array of enabled build profiles.


CHANGES

Version 1.00 (dpkg 1.17.17)

Mark the module as public.

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