develooper Front page | perl.perl6.users | Postings from July 2017

Need sub for `LWP::UserAgent`

Thread Next
From:
Todd Chester
Date:
July 28, 2017 04:43
Subject:
Need sub for `LWP::UserAgent`
Message ID:
3d068b22-ab14-26df-c6aa-aec95d220911@zoho.com
Hi All,

I am trying to convert a p5 program to p6.  What do I use in
place of `LWP::UserAgent`?

I use it for downloading files from the web.  I need to be able
to pass the following to the web page:

    Caller
    Host
    UserAgent
    Referer
    Cookies

This is the p5 code I want to convert:

       http://vpaste.net/gtJgj

Any words of wisdom?

Many thanks,
-T

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About