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

Did you create Noc1 ???

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

index.html ??? Hows' that work?

> 
> use Noc1;
> my $noc =  new noc1;
> my public = noc->ispublic();
     ^^^^^^   ^^^
Do you mean $public and $noc ??

> my $admin = noc->isadmin();
                  ^^^
$noc again??

> 
> 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 ?

Did you make it exportable?
I sit really in there just like that?

How about some backgound on Noc1.pm and some code from it to show how it's used

> Everything works fine with Noc1.pm and index.html until i 
> add my new method isadmin in.
> 
> thanks for your help

HTH

DMuey

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

Reply via email to