in reply to alibaba cloud sms api

Do you have actual documentation for the API? What does the server expect to see where?

Those examples are all using special libraries Alibaba provides for those languages, libraries which you will be effectively reimplementing in your Perl code. (Fear not — those libraries are also either very simple or overcomplicated messes to substitute for the lack of LWP.)

The important part is that your code will look different from those examples because you are directly forming the request instead of using Alibaba's library.