Sophie

Sophie

distrib > Mageia > 3 > x86_64 > media > core-release-src > by-pkgid > 3d1c09e43d196af548a24e7fa6fd437d

perl-Device-SerialPort-1.40.0-5.mga3.src.rpm

Description:

This module provides an object-based user interface essentially identical
to the one provided by the Win32::SerialPort module.

Initialization
The primary constructor is *new* with either a _PortName_, or a
_Configuretion File_ specified. With a _PortName_, this will open the
port and create the object. The port is not yet ready for read/write
access. First, the desired _parameter settings_ must be established.
Since these are tuning constants for an underlying hardware driver in
the Operating System, they are all checked for validity by the methods
that set them. The *write_settings* method updates the port (and will
return True under POSIX). Ports are opened for binary transfers. A
separate 'binmode' is not needed.

$PortObj = new Device::SerialPort ($PortName, $quiet, $lockfile)
|| die "Can't open $PortName: $!\n";

Generated packages:

Other version of this rpm: