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



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



Home | Main Index | Thread Index | Old Index