dvinay has asked for the wisdom of the Perl Monks concerning the following question:

Just a quick question, can we use HTTP:Headers perl module along with HTTP:Tiny, As i know HTTP:Headers works with LWP::UserAgent. please confirm if anyone has the answer.

Replies are listed 'Best First'.
Re: using HTTP::Headers with HTTP::Tiny
by Corion (Patriarch) on May 15, 2015 at 08:11 UTC

    What do you mean "along with"? What do you want to achieve?

    HTTP::Tiny is a tiny HTTP client. It does not have many features. LWP::UserAgent is for when you need more than simply fetching a single resource.

      my idea was to use HTTP::Headers instead of the inbuilt headers which was there in HTTP::Tiny module, just wanted to know if its allowed or not.

        Have you read what the documentation of HTTP::Tiny has to say about headers? I find nothing there that would suggest that HTTP::Headers would be compatible with a hashref.