Hello people

I've following code:
my $resolver =  My::Resolver->new (comp_root => '/home/rome/mason/view');
my $handler  =  HTML::Mason::ApacheHandler->new(
     data_dir         => '/var/tmp',
     resolver         => $resolver,
      args_method => 'mod_perl',
     allow_globals => ['$IOC'],
 );
 
However the line with '$resolver = My::Resolver->new' fails with this :

The following parameter was passed in the call to My::Resolver->new() but was 
not listed in the validation options: comp_root\n

My::Resolver is defined as:
package My::Resolver;
use strict;
use base qw( HTML::Mason::Resolver::File );

sub apache_request_to_comp_path {
    ....
}

Any ideas what am I doing wrong?

  - Praveen  

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to