Re: solved: Net::FTP ALLO --- and how to advise functions in perl

2016-08-20 Thread Chas. Owens
I don't think the specific technique is discussed in perldoc (all of the parts are there, you just have to put them together), but I do think it is discussed in the Perl Cookbook and probably Programming Perl. Stuff about the how Perl handles symbol tables is covered in perldoc perlmod http://pe

solved: Net::FTP ALLO --- and how to advise functions in perl

2016-08-20 Thread hw
Chas. Owens schrieb: If you want to get rid of ALLO completely, it looks like you just need to monkeypatch Net::FTP::_ALLO to return 1: use Net::FTP; BEGIN { no warnings "redefine"; *Net::FTP::_ALLO = sub { 1 }; } This replaces the _ALLO method of Net::FTP with a new method that just