quick follow up question, one error message went away but didn't quite worked by adding the path to the files using use lib "path"... as follows

use lib "C:\Users/Lucca/Documents/NetBeansProjects/perlpm";

this is the error message, why is it asking me to pointing to a different directory I implicitly set?

Can't locate object method "class" via package "Da_corsa" (perhaps you + forgot to load "Da_corsa"?) at C:\Users\Lucca\Documents\NetBeansProj +ects\PERL scripts\perl\MioDreamcar.pl line 17.
use warnings; use Data::Dump qw(dump); use lib "C:/Users/Lucca/Documents/NetBeansProjects/perlpm"; #initial e +rror gone but other pop up. #use lib "C:/Users/Lucca/Documents/NetBeansProjects"; #tried to follow + example syntax for this method but didn't work #use perlpm::Da_corsa; #adding the file this way...why is this method +wrong.

created a different dir to do all my testing of future PM's...so the permission are set correctly

$ ls -lrt perlpm/ total 3 -rwxrwxrwx+ 1 Lucca Lucca 288 Nov 6 17:58 Scuderia.pm -rwxrwxrwx+ 1 Lucca Lucca 343 Nov 6 17:58 Dreamcar.pm -rwxrwxrwx+ 1 Lucca Lucca 569 Nov 6 17:58 Da_corsa.pm

In reply to Re^2: PM module question/improvements by perlynewby
in thread PM module question/improvements by perlynewby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.