Doing the following as suggested worked
use lib '/home/sherman/module_test/share/perl/5.14.2';
use testdir::moduletest;
thank you all. I was banging my head and I kept re-reading and it didn't make sense at the time.
Sherman
| [reply] [d/l] [select] |
thank you all. I was banging my head and I kept re-reading and it didn't make sense at the time.
:) Been there, done that, took a break to practice :)
When I'm stuck and a regular break doesn't help, an exercise break helps
I start a new directory and walk-through something like Simple Module Tutorial, typing it myself instead of copy/paste
Instead of commenting/uncommenting lines, I save each to a different file (MyScript3.pl...)
The benefits 1) it stick in my memory (like muscle memory) 2) I have short example (in my style) available for copy/review at anytime
Eventually I back this up in version control
| [reply] |