In the old days, curl was installed by default by a new installation and wget needed to be added.
Now it’s the other way around. I got fed up with this and figured out how to modify my old scripts to use wget.
open(CURLY, "/usr/bin/curl -kfs https://copier.lan/status/statgeneral.htm|")
or die "Can't curl: $!";
curl writes to stdout by default. k for insecure https connection, f for fail silently, s for silent.
open(CURLY, "/usr/bin/wget --no-check-certificate -qO - https://copier.lan/status...
or die "Can't curl: $!";
wget writes to a file by default. --no-check-certificate for insecure https connection, q for quiet, O - to write the data to stdout.