The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Config::Apple::Profile::Config - External programs and modules only used occasionally (or even less).

SYNOPSIS

use Config::Apple::Profile::Config;

if (defined $Config::Apple::Profile::Config::ACP_OPENSSL_PATH) { # Do something with OpenSSL... }

# ... or ...

use Config::Apple::Profile::Config qw($ACP_OPENSSL_PATH);

if (defined $ACP_OPENSSL_PATH) { # Do something with OpenSSL... }

DESCRIPTION

From time to time, the Config::Apple::Profile:: classes would like to use an executable or a module that is not absolutely required. For example, if you are creating a certificate payload, it would be nice to verify that you are actually providing a certificate.

Although such functionality is nice to have, it is not required. Also, there may be more than one way to do certain things (for example, there may be more than one way to examine a PNG file). This package is created when the software is installed, and the variables in this package are not read-only. If you like, your code can change the variables at runtime.

All of the package variables can be exported to the local namespace individually, or in groups. The :all group can be used to import all package variables, and additional packages are defined below.

PACKAGE VARIABLES

OpenSSL (group :openssl)

$ACP_OPENSSL_PATH

The path to the OpenSSL binary. This may be undefined.

$ACP_OPENSSL_CAN_CMS

If true, the OpenSSL executable at $ACP_OPENSSL_PATH supports the `cms` command.

ACKNOWLEDGEMENTS

Refer to the Config::Apple::Profile for acknowledgements.

AUTHOR

A. Karl Kornel, <karl at kornel.us>

COPYRIGHT AND LICENSE

Copyright © 2014 A. Karl Kornel.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.