Package: perl-Net-Telnet (3.04-1.25)
interact with TELNET port or other TCP ports
Net::Telnet allows you to make client connections to a TCP port and do network I/O, especially to a port using the TELNET protocol. Simple I/O methods such as print, get, and getline are provided. More sophisticated interactive features are provided because connecting to a TELNET port ultimately means communicating with a program designed for human interaction. These interactive features include the ability to specify a time-out and to wait for patterns to appear in the input stream, such as the prompt from a shell. IPv6 support is available when using perl 5.14 or later (see 'family()'. Other reasons to use this module than strictly with a TELNET port are: * * You're not familiar with sockets and you want a simple way to make client connections to TCP services. * * You want to be able to specify your own time-out while connecting, reading, or writing. * * You're communicating with an interactive program at the other end of some socket or pipe and you want to wait for certain patterns to appear. Here's an example that prints who's logged-on to a remote host. In addition to a username and password, you must also know the user's shell prompt, which for this example is '"bash$ "' use Net::Telnet (); $t = new Net::Telnet (Timeout => 10, Prompt => '/bash\$ $/'); $t->open($host); $t->login($username, $passwd); @lines = $t->cmd("who"); print @lines; See the *EXAMPLES* section below for more examples. Usage questions should be directed to the perlmonks.org discussion group. Bugs can be viewed or reported at cpan.org on the Net::Telnet page.
Package information
- Homepage
- [http://search.cpan.org/dist/Net-Telnet/]
- License
- GPL-1.0+ or Artistic-1.0
- Супровідник downstream-пакета
- Невідомо: не зазначено в проіндексованому джерелі
- Пакет джерела
- [perl-Net-Telnet]
- Software project
- [perl-Net-Telnet]
Versions and downloads for perl-Net-Telnet
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 3.04-1.25leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 63 KiB | 179 KiB | list of files | perl-Net-Telnet-3.04-1.25.noarch.rpm |
About these downloads
Кожен рядок: метадані індексу пакетів для однієї версії, архітектури, набору й репозиторію. Назви, URL і розміри зі джерела; посилання є змінним місцем отримання, не перерозповсюдженням OpenFactory.
Dependencies and recommendations for perl-Net-Telnet
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
Шляхи файлів пакета (7)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.26.1/Net
- /usr/lib/perl5/vendor_perl/5.26.1/Net/Telnet.pm
- /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
- /usr/share/doc/packages/perl-Net-Telnet
- /usr/share/doc/packages/perl-Net-Telnet/ChangeLog
- /usr/share/doc/packages/perl-Net-Telnet/README
- /usr/share/man/man3/Net::Telnet.3pm.gz
Field source: openSUSE Leap 15.6 OSS
