in reply to Re^2: Perl and AWS module
in thread Perl and AWS module

I'm not sure how you looked, but if I go to Paws, and search for "spot", I see at least Paws::EC2::RequestSpotInstances, which seems to be about buying spot instances and Paws::EC2::SpotFleetMonitoring, which sounds as if you could use that to find out how many spot instances are currently running.

Of course, all of these require knowledge of the AWS API, which I don't have, so I don't know whether these are appropriate. But I'm certain that a bit of reading in the documentation will point out the requests you need to make.