Hello all,

I just added a new method called isadmin  to existing and 
working module Noc1.pm

And use this new added method in my index.html like this

use Noc1;
my $noc =  new noc1;
my public = noc->ispublic();
my $admin = noc->isadmin();

if ($admin) { blah blah blah}

When i tried to access index.html i got the error msg...
can't locate object method "isadmin" via package 'Noc1" at 
.../index.html line 21

Do you know what is the problem here ?
Everything works fine with Noc1.pm and index.html until i 
add my new method isadmin in.

thanks for your help




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to