On Wed, Jun 10, 2015 at 11:39:10PM +0300, Niko Tyni wrote: > On Sat, Jun 06, 2015 at 08:24:20PM +0200, Kurt Roeckx wrote: > > On Sat, Jun 06, 2015 at 07:40:42PM +0200, Frank Eiche wrote: > > > > Undefined subroutine &WWW::Curl::Easy::global_cleanup called at > > > /usr/lib/ssl/misc/tsget line 196 > > > > For some reason it seems in wheezy both global_cleanup() and > > curl_global_cleanup(), but in jessie only curl_global_cleanup() > > works. > > I don't see any reference to global_cleanup() in the documentation. > > It looks to me like global_cleanup() "works" (as in doesn't croak) > in squeeze (libwww-curl-perl 4.12-1) but not in wheezy (4.15-1) > or later. > > It's probably this change: > > 4.13 Wed Sep 01 2010: - Balint Szilakszi <szbalint at cpan.org> > [...] > - Modernized *.pm and AUTOLOAD now throws an error on unknown method > calls [Fuji, Goro]. > > The squeeze version seems to silently accept anything: > > squeeze% perl -w -Mstrict -MWWW::Curl::Easy -e > 'WWW::Curl::Easy::nosuchfunction()'; echo $? > 0 > > but later versions correctly croak: > > wheezy% perl -w -Mstrict -MWWW::Curl::Easy -e > 'WWW::Curl::Easy::nosuchfunction()'; echo $? > Undefined subroutine &WWW::Curl::Easy::nosuchfunction called at -e line 1 > 22 > > So apparently global_cleanup() was always broken but error handling > has improved after squeeze.
I'm getting confused. Neither global_cleanup() nor curl_global_cleanup() seems to exist in any version as far as I can see. I think at least that is missing functionality in libwww-curl-perl. Kurt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org