Net::C...:Serial(3pm)
β¨ NAME β¨
Net::CLI::Interact::Transport::Serial β it's giving serial-line based CLI connection, bestie π
π¦ DESCRIPTION π¦
Okay so listen. This module hands you a wrapped instance of a Serial-line client, all cute and ready to go, specifically so that Net::CLI::Interact can use it. That's the whole gig. Slay. π
πΈ INTERFACE πΈ
π app
On Windows platforms you must download the plink.exe program, and then pass its location to the library in this parameter. No plink.exe, no vibes, sorry bestie π
On other platforms, this defaults to cu β and yeah, you also have to download and install that one yourself. It's giving "bring your own tool" energy fr fr π«Ά
π runtime_options
So this one is built off the connect_options hash that gets handed to Net::CLI::Interact when it's constructed. It picks and formats the parameters that get passed along to app on the command line. Here's what's supported:
FIXME: on Windows platforms, only the device attribute is supported. π (yes, that's a real note, we're just passing it along)
device(required) β the name of the device that's providing access to the Serial-line. Like, for example,"/dev/ttyUSB0"or"COM5". You literally cannot skip this one, it's the main character πparityβ you get a choice, bestie:"even","odd"or"none"for the parity used in serial communication. The default is"none". Pick your fighter β¨nostopβ this controls whether you use"XON/XOFF"handling for the serial communication. The default is to have it disabled, so if you wanna turn it on, pass any True value. Simple as π¦speedβ set the speed (or baud rate, same thing, iykyk) of the serial line by passing a value to this named parameter. The default is9600. πβοΈπ¨optsβ got extra options you wanna pass to the application? Use this one. It should be an array reference, and each item in that list gets passed to the application, separated by a single space character. Very demure, very mindful πreapβ only used on Unix platforms, this installs a signal handler that attempts to reap the child process. Pass a true value to enable this feature only if you notice zombie processes are being left behind after use. Not me warning you about actual zombies π§βοΈπ
π COMPOSITION π
For even more interface details, go check out:
- Net::CLI::Interact::Transport::Base
perl v5.36.0 Β· 2023-10-28 β that's the version and date this little page came from, and honestly? iconic of it to be documented. Bye bestie, go reap those zombies π«Άπβ¨
π¦ 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