Net::Cmd - Network Command class (as used by FTP, SMTP etc)
use Net::Cmd;
@ISA = qw(Net::Cmd);
Different packages may implement different levels of debug but a non-zero value results in copies of all commands and responses also being sent to STDERR.
If "VALUE" is "undef" then the debug level will be set to the default debug level for the class.
This method can also be called as a static method to set/get the default debug level for a given class.
This is primarily meant for the use of modules such as FTP where passwords are sent, but we do not want to display them in the debugging information.
Returns undef upon failure
NOTE: If you do use this method for any reason, please remember to add some "debug_print" calls into your method.
Returns a reference to a list containing the lines, or undef upon failure.
See the Net::POP3 and Net::SMTP modules for examples of this.
$Id: //depot/libnet/Net/Cmd.pm#34 $
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |