[Mon Dec 2 11:55:02 2002] plsregistration.cgi: Can't locate object method "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