Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 459 Bytes
#!perl
use strict;
use warnings;
use Net::RackSpace::CloudServers;
use YAML;
my $user = $ENV{'CLOUDSERVERS_USER'} or die "Need CLOUDSERVERS_USER environment variable set";
my $key = $ENV{'CLOUDSERVERS_KEY'} or die "Need CLOUDSERVERS_KEY environment variable set";
$Net::RackSpace::CloudServers::DEBUG = 1;
my $CS = Net::RackSpace::CloudServers->new(
user => $user,
key => $key,
);
$CS->get_flavor;
$CS->get_flavor_detail(1);
$CS->get_flavor_detail;
Jump to Line
Something went wrong with that request. Please try again.