in reply to How to lock other users from using Serialport under Linux ?
$PortObj = new Device::SerialPort ($PortName, $quiet, $lockfile) || die "Can't open $PortName: $!\n"; [download]