The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#! /usr/bin/perl
#
# Copyright (c) 2015 cPanel, Inc.
# All rights reserved.
#
# Distributed under the terms of the MIT license. See the LICENSE file for
# further details.
#
use strict;
my $client = OpenStack::Client::Auth->new($ENV{'OS_AUTH_URL'},
'tenant' => $ENV{'OS_TENANT_NAME'},
'username' => $ENV{'OS_USERNAME'},
'password' => $ENV{'OS_PASSWORD'}
);
foreach my $service ($client->services) {
print "$service\n";
}