Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

#!/usr/bin/env perl
use strict;
use lib 'auto-lib', 'lib';
use Paws;
my $result;
my $ec2 = Paws->service('EC2',
region => 'eu-west-1',
);
$result = $ec2->DescribeSpotPriceHistory;
p $result;
p $_ foreach @{ $result->SpotPriceHistory };