I'm not sure that what you wrote above would work, because the apihost parameter is, unsurprisingly, documented in the Net::Twitter as:

A string containing the Twitter API host. It defaults to "twitter.com:80". This option is available when the API::REST trait is included.

I'm not sure where you get the idea that you have to construct any URLs yourself - this is what the module should shield you from. But I'm sure that, instead of theoretical musings, it would be far more productive if you actually tried things out and came back only if you had further questions or error messages to report.


In reply to Re^3: How do I use curl with perl and Twitter by Corion
in thread How do I use curl with perl and Twitter by northwestdev

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":