[beagleboard] BeagleBone, Perl and CPAN

I love Perl and would like to use it on my BeagleBone. I have Ubuntu 12.04
and tryied to use CPAN and that is what I am getting ( trying to install

"cpan[2]> install Device::SerialPort
Going to read '/root/.cpan/Metadata'
  Database was generated on Sat, 14 Jul 2012 17:10:37 GMT
Running install for module 'Device::SerialPort'
Running make for C/CO/COOK/Device-SerialPort-1.04.tar.gz
Checksum for
/root/.cpan/sources/authors/id/C/CO/COOK/Device-SerialPort-1.04.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Use of uninitialized value $newdir in substitution (s///) at
/usr/lib/perl/5.14/Cwd.pm line 330.
Use of uninitialized value $newdir in chdir at /usr/lib/perl/5.14/Cwd.pm
line 338.
Use of chdir('') or chdir(undef) as chdir() is deprecated at
/usr/lib/perl/5.14/Cwd.pm line 338.
Use of uninitialized value $newdir in pattern match (m//) at
/usr/lib/perl/5.14/Cwd.pm line 353.
Use of uninitialized value $newdir in split at /usr/lib/perl/5.14/Cwd.pm
line 359.
Using Tar:/bin/tar xf "Device-SerialPort-1.04.tar":
Couldn't untar Device-SerialPort-1.04.tar
Package seems to come without Makefile.PL.
  (The test -f "/root/.cpan/build/COOK-jXIL2G/Makefile.PL" returned false.)
  Writing one on our own (setting NAME to DeviceSerialPort)
  Had problems unarchiving. Please build manually
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Failed during this command:
COOK/Device-SerialPort-1.04.tar.gz : unwrapped NO -- untar failed

Any idea what could be a problem and how to fix it??

This is a guess, but I gave it 24 hours for someone who might really
know to chime in...

I've seen issues with busybox tar. Many Angstrom configurations ship
with the tar from busybox by default and it does not support some
command line arguments and features used by some applications that use

Try doing:
'opkg install tar'

Also, have you manually confirmed that Device-SerialPort-1.04.tar
contains Makefile.PL?