in reply to Question on overriding a Mason method

The above does not work.

How?

http://www.masonhq.com/docs/manual/Devel.html#accessing_methods_and_attributes

  • Comment on Re: Question on overriding a Mason method

Replies are listed 'Best First'.
Re^2: Question on overriding a Mason method
by freddo411 (Chaplain) on Feb 08, 2012 at 21:41 UTC
    I found my incorrect syntax on this. I needed to quote the string argument to comp();
    The correct syntax is:
    <%perl> $m->comp( 'PARENT:leftnav', %ARGS ); # some code here to add some stuff at the bottom </%perl>

    -------------------------------------
    Nothing is too wonderful to be true
    -- Michael Faraday