I made it to the first learning exercise, Lasagna.
When I run the tests from the command line, via
prove .
I see the following output
./lasagna.t … Can’t locate Lasagna.pm in @INC (you may need to install the Lasagna module) (@INC contains: {a bunch of paths to my perl installation}
This exercise is different from HelloWorld in that the test is in a directory named ‘t’ and the system-under-test in a directory named ‘lib’.
The HELP.md for the exercise is the basic boilerplate to run tests via prove .
I’ve tried cd’ing to each folder to run the command, moving the .t file to the same directory as the .pm file, none of which changed the error.
In addition to the file location differences, the HelloWorld example uses a different import(?) mechanism:
use Exporter qw;
our @EXPORT_OK = qw;
I feel I’m missing something obvious but am not sure what that is. Any ideas?