Help with Perl serial communication

Here is my code

use Device::SerialPort;
my $port=Device::SerialPort->new("/dev/ttyO1");




When I run the code I get this error

Can’t locate Device/ in @INC (@INC contains: /etc/perl /usr/lib/perl/site_perl/5.14.2/ /usr/lib/perl/site_perl/5.14.2 /usr/lib/perl/vendor_perl/5.14.2/ /usr/lib/perl/vendor_perl/5.14.2 /usr/lib/perl/5.14.2/ /usr/lib/perl/5.14.2 /usr/local/lib/site_perl /usr/lib/perl/5.14.2 .) at line 1.
BEGIN failed–compilation aborted at line 1.

Anybody have a solution or another way to communicate via serial?

root@bbb:~# cpan -i Device::SerialPort

that will install the missing perl module