NAME
OpenFeature::SDK - OpenFeature SDK for Perl
SYNOPSIS
use v5.36;
use OpenFeature::SDK;
my $openfeature_sdk = OpenFeature::SDK->new();
$openfeature_sdk->set_provider($someProvider, 'someDomain');
my $openfeature_client = $openfeature_sdk->get_client('someDomain');
my $boolean_flag = $openfeature_client->get_boolean_value('flagName', 0);
DESCRIPTION
The future of feature flagging is here! Which is an assortment of functions to call providers to get your flag details out.
OpenFeature provides 5 distinct types of flags in: "Boolean", "String", "Integer", "Float" and "Object". The job of this SDK package is to provider the global configuration layer and access to the underlying Openfeature::Client package.
Things left to implement
Event handling stuff
add_handler
remove_handler
AUTHOR
Philipp Böschen <catouc@philipp.boeschen.me>
CONTRIBUTORS
None so far.
COPYRIGHT
Copyright (c) 2024 the OpenFeature::SDK "AUTHOR" and "CONTRIBUTORS" as listed above.
LICENSE
This library is free software and may be distributed under the same terms as perl itself. See https://dev.perl.org/licenses/.