fsonnichsen has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to write serial codes on a new server and I get the error: eval "use Device::SerialPort"; .... Can't locate Device/SerialPort.pm in @INC I assume I need to issue a yum install to get the appropriate package. Can anyone point me to the proper syntax/package name? thanks Fritz

Replies are listed 'Best First'.
Re: Need Package Name for Serial on Centos
by hippo (Archbishop) on May 13, 2016 at 22:20 UTC
Re: Need Package Name for Serial on Centos
by codiac (Beadle) on May 15, 2016 at 04:46 UTC
    You never need to know the real package name because all perl modules are provided as perl($module) so:
    # yum install 'perl(Device::SerialPort)'