pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/55109: p5-WWW-Curl Package is no longer available; 'cpan -i WWW::Curl' fails
The following reply was made to PR pkg/55109; it has been noted by GNATS.
From: Graham Jenkins <grahjenk%hotmail.com@localhost>
To: "pkg-manager%netbsd.org@localhost" <pkg-manager%netbsd.org@localhost>,
"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>, "pkgsrc-bugs%netbsd.org@localhost"
<pkgsrc-bugs%netbsd.org@localhost>, "gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc:
Subject: Re: pkg/55109: p5-WWW-Curl Package is no longer available; 'cpan -i
WWW::Curl' fails
Date: Fri, 27 Mar 2020 05:57:10 +0000
--_000_PS2P216MB01474CE713C4BAF906CC3CA4D9CC0PS2P216MB0147KORP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanks Thomas. Turns out there is an easy solution which allows an existing=
program to execute on machines (Ubuntu 18.04!) which have WWW::Curl::Easy =
and also on machines which don't .. thus
--
#!/usr/bin/env perl
use strict;
use warnings;
BEGIN { eval { require Net::Curl::Compat; } }
use WWW::Curl::Easy;
use Sys::Syslog;
.. etc
--
Regards ..
Graham Jenkins
________________________________
--_000_PS2P216MB01474CE713C4BAF906CC3CA4D9CC0PS2P216MB0147KORP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
Thanks Thomas. Turns out there is an easy solution which allows an existing=
program to execute on machines (Ubuntu 18.04!) which have WWW::Curl::Easy =
and also on machines which don't .. thus</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
--</div>
<blockquote style=3D"margin-top: 0px; margin-bottom: 0px;">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<span>#!/usr/bin/env perl<br>
</span>
<div>use strict;<br>
</div>
<div>use warnings;<br>
</div>
<div>BEGIN { eval { require Net::Curl::Compat; } }<br>
</div>
<div>use WWW::Curl::Easy;<br>
</div>
<div>use Sys::Syslog;<br>
</div>
<span> .. etc</span><br>
</div>
</blockquote>
<div>
<div id=3D"appendonsend"></div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
--</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
Regards ..</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or:rgb(0,0,0)">
Graham Jenkins<br>
</div>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
</div>
</body>
</html>
--_000_PS2P216MB01474CE713C4BAF906CC3CA4D9CC0PS2P216MB0147KORP_--
Home |
Main Index |
Thread Index |
Old Index