Question

I am a noob to perl. Searching for "How to install a perl module" I did install cpan and tried the following:

sudo cpan install Logger

But received:

Going to read '/Users/steve/.cpan/Metadata'
  Database was generated on Wed, 09 Oct 2013 06:53:03 GMT
Warning: Cannot install Logger, don't know what it is.
Try the command

    i /Logger/

to find objects with matching identifiers.

So I tried that too:

cpan[1]> i Logger
Going to read '/Users/steve/.cpan/Metadata'
  Database was generated on Wed, 09 Oct 2013 06:53:03 GMT
No objects found of any type for argument Logger

Here are some of the imports:

use TDScli;
use Logger;
Was it helpful?

Solution

There is no module on CPAN that is called Logger. They are all called "Logger::Something" or "Something::Logger". If your project is using a module that is just called "Logger", then it didn't come from CPAN. You need to find out where you are supposed to get that module from.

OTHER TIPS

you have to down load the OBD II Perl logger and move it to a your home dir, then extract it, use software such as Geany it is opensource to compile the file wit .pl and you will have a terminal opened in front of you reading your OBD II scanner not all of them are working with this software. it is simple and all scan in the terminal logged in a text file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top