Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
> On Tue, Apr 7, 2020 at 1:58 PM ToddAndMargo via perl6-users > mailto:perl6-users@perl.org>> wrote: > > On 2020-04-07 02:55, Veesh Goldman wrote: > > Your question is way to vague. What do you actually want to do? > If you > > just wanna download a page, use curl or some other

Re: How to read a web page?

2020-04-07 Thread Veesh Goldman
Are you familiar with dynamic dns providers like duckdns.org (there are others, too). That coupled with a script that updates your ip with the provider, like ddclient (written in perl!), should be a more straightforward way of accomplishing what you want. Also, thank you for clarifying what you

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 02:55, Veesh Goldman wrote: Your question is way to vague. What do you actually want to do? If you just wanna download a page, use curl or some other tool, no reason to do it from raku if there's nothing more than that. If you want more than that, then please be more specific.

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 02:38, Shlomi Fish wrote: Hi Todd! On Tue, 7 Apr 2020 02:15:13 -0700 ToddAndMargo via perl6-users wrote: How do I read (download) a web page? get? See https://github.com/raku-community-modules/raku-lwp-simple and

Re: How to read a web page?

2020-04-07 Thread Shlomi Fish
Hi Todd! On Tue, 7 Apr 2020 02:15:13 -0700 ToddAndMargo via perl6-users wrote: > How do I read (download) a web page? get? See https://github.com/raku-community-modules/raku-lwp-simple and

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
> On Tue, Apr 7, 2020 at 12:15 PM ToddAndMargo via perl6-users > mailto:perl6-users@perl.org>> wrote: > > How do I read (download) a web page? get? On 2020-04-07 02:55, Veesh Goldman wrote: Your question is way to vague. What do you actually want to do? If you just wanna download a page,

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 02:15, ToddAndMargo via perl6-users wrote: How do I read (download) a web page?  get? Came up with this: # zef --force-test install HTTP::Client $ raku -e 'use HTTP::Client; my $client=HTTP::Client.new; my $response = $client.get("http://checkip.dyndns.org/;); say

Re: How to read a web page?

2020-04-07 Thread Veesh Goldman
Your question is way to vague. What do you actually want to do? If you just wanna download a page, use curl or some other tool, no reason to do it from raku if there's nothing more than that. If you want more than that, then please be more specific. On Tue, Apr 7, 2020 at 12:15 PM ToddAndMargo