in reply to Re: Cannot call my installed module
in thread Cannot call my installed module

Thanks all. This is good. Sherman

Replies are listed 'Best First'.
Re^3: Cannot call my installed module
by ShermW0829 (Sexton) on Feb 24, 2013 at 21:23 UTC

    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

      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