Re: <%shared> bug?

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Mar 23, 2004, at 12:05 PM, Jonathan Swartz wrote:

> Looks like this is the culprit:
>
>    package Bric::Util::Burner::Commands;
>
> I assume you're using the in_package parameter to set this?

Yes.

> $m is defined
> before the component ever runs, but only in the default
> (HTML::Mason::Commands) package. This seems like a bug when using 
> in_package
> in conjunction with the <%shared> section.

Agreed. I poked around the code, but couldn't see right off where it 
was getting written...

Regards,

David



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.