hi all!

happy new year!

I tried to run mason standalone, but I have a problem.


my files/directory:
------------------------
/root/mason/a.mas
/root/mason/m.pl


a.mas
--------
thats a test
<%init>
</%init>


m.pl
------
use strict;
use HTML::Mason;
my $outbuf;
my $interp = HTML::Mason::Interp->new
   (comp_root  => "/root/mason/",
        data_dir   => "/root/mason/",
        out_method => \$outbuf);
$interp->exec ("/root/mason/a.mas");


after "perl m.pl" I get:
---------------------------
> perl m.pl
could not find component for initial path '/root/mason/a.mas' (component roots are: '/root/mason')
Stack:
 [/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm:204]
 [/usr/local/lib/perl5/site_perl/5.8.4/Class/Container.pm:275]
 [/usr/local/lib/perl5/site_perl/5.8.4/Class/Container.pm:353]
 [/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Interp.pm:329]
 [/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Interp.pm:323]
 [m.pl:11]


any ideas?

thx chris










-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to