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
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
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
returns 1. I set it up l
Chas. Owens schrieb:
Based on a cursory reading of the perldoc, it looks like the ALLO command is
only sent if you call the Net::FTP::alloc method. If you aren't calling it,
can you provide a toy test case for us where the code sends ALLO. I will try
to debug why it is sending a command you
Based on a cursory reading of the perldoc, it looks like the ALLO command
is only sent if you call the Net::FTP::alloc method. If you aren't calling
it, can you provide a toy test case for us where the code sends ALLO. I
will try to debug why it is sending a command you aren't asking for.
If you
Hi,
is there some way to prevent Net::FTP from using the ALLO command or
to make it ignore failures when this command is used?
I have to deal with ftp servers that do not understand the ALLO command.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beg