Net::C...:Telnet(3pm)
π¦ NAME π¦
Net::CLI::Interact::Transport::Telnet β a TELNET-based CLI connection, bestie. Yes it's a whole module, and yes you're gonna understand it, fr fr.
This is Net::C...:Telnet(3pm) and honestly? It's giving "quietly essential infrastructure" π
β¨ DESCRIPTION β¨
Okay so listen. This module hands you a wrapped instance of a TELNET client β like, pre-packaged, ready to go β for Net::CLI::Interact to use. That's it. That's the whole vibe. It's the little middleman that makes TELNET connections happen so you don't have to β¨
π«Ά INTERFACE π«Ά
π app
So on Windows platforms you have to go download the plink.exe program yourself (annoying, I know π) and pass its location into the library using this parameter. On every other platform? It just defaults to telnet. Slay. No extra work for you π
πΈ runtime_options
Here's the tea: based on the connect_options hash that got handed to Net::CLI::Interact when it was constructed, this thing picks out and formats the parameters it's gonna feed to app on the command line. Here's everything it supports:
host(required) β the host name or IP address of the host that the TELNET application is gonna connect to. Required, bestie, don't skip it πportβ the port number on the host that's listening for the TELNET connection. Defaults to23. Iconic default energy πoptsβ got extra options you wanna pass to the Telnet application? Drop them here, and it should be an array reference. Now listen, because the details matter:- On Windows platforms, each item on the list gets passed to the
plink.exeapplication, separated by a single space character. - On Unix platforms, it depends on whether you have
IO::Ptyinstalled β which in turn depends on whether you have a compiler. Yeah. A compiler. π« - Typically, the
Net::Telnetlibrary is what's used for TELNET connections, so the list can be any options taken by itsnew()constructor. Otherwise, the localtelnetapplication is used instead.
- On Windows platforms, each item on the list gets passed to the
reapβ only used on Unix platforms. This installs a signal handler which attempts to reap thesshchild process. Pass a true value to enable this feature only if you notice zombie processes are being left behind after use. Like, actual zombies. In your process table. Spooky π Only turn it on if you're seeing them, okay?
π COMPOSITION π
Want more interface details? Go check these out, bestie:
Net::CLI::Interact::Transport::Base
That's the whole page, no cap. Written by the Perl documentation girlies, running on perl v5.36.0 and dated 2023-10-28 β periodt. Go make some TELNET connections, you've got this π¦β¨π
π¦ where this page comes from
- debian trixie: libnet-cli-interact-perl 2.400002-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnet-cli-interact-perl 2.400002-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-cli-interact-perl 2.400002-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-cli-interact-perl 2.400002-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms