Hi Charmie,
Not sure where you got that usage but the Parser is pretty old (pre-Mason-1.0 I
believe). Here's the documentation for standalone mode:
http://www.masonhq.com/docs/manual/Admin.html#using_mason_from_a_standalone_sc
Jon
On Jul 21, 2010, at 7:16 AM, charmie maniar wrote:
> Hi,
>
> I am new to Mason. I am not using it with Apache and mod_perl. I am using it
> in CGI mode. Is this also the standalone mode? I have created an handler.pl
> file but I am getting the following error
>
> Can't locate object method "new" via package "HTML::Mason::Parser" (perhaps
> you forgot to load "HTML::Mason::Parser"?) at mason.pl line 36.
>
> I think the parser module is not active anymore in the newer versions of
> mason, but I read that to use Mason in the standalone mode you need to use
> the parser and interp objects of Mason. Could you suggest how should I
> proceed?
>
> Thanks,
> Charmie
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first --
> http://p.sf.net/sfu/sprint-com-first_______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users