First if found the files ( after remembering that pwd gived the full path ) thank you very much all of you. But now it cant find methods in the file.
[Mon Dec 2 11:55:02 2002] plsregistration.cgi: Can't locate object me +thod "new" via package "MyModules::User" at plsregistration.cgi line +58. # Its in there: sub new { my $self = {}; $self->{user_id} = undef; #sets the account flag to true #this indicates that an account #does not currently exist $self->{new_account} = "1"; #error reporting and update vars $self->{error_type} = undef; $self->{error_html_string} = undef; bless ($self); return $self; } #and here is the calling code my $user = MyModules::User -> new(); #I tried it the other way as well and I got the same error #I made sure it was chmodded 755 as well as the directory #was 744

In reply to It cant find my methods by Angel

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.