This is the shortest Perl program I have ever posted to as for advice on:
use Device::USB;
That's it!
The error is repeated 3 times and says:
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/Device/USB.pm line 10.Line 9,10,11 of the referenced module say:
9 use Inline ( 10 C => "DATA", 11 ($ENV{LIBUSB_LIBDIR}
I am using Kubuntu desktop 13.10 and I confess I may have screwed up by doing a "cpan install Device::USB". That did not do a complete install. I had forgotten that it should be apt-get install libdevice-usb-perl. I did that and some earlier errors went away, but not this one. So I did and cpan uninstall Device::USB. That did not complete well. I also did an apt-get install libusb-1.0.0, which went well and an apt-get install libusb-1.0.0-dev which told me everything was up to date
I thought it might be that the Inline module is required but not installed. I did a three line program:
use strict; use warnings; use Inline;
and there were no complaints so I have to assume that is not the problem
Your advice is, as always, appreciated, Best regards
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |