Re: <%shared> bug?
Dave Rolsky <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 23 Mar 2004, David Wheeler wrote: > > $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... Fortunately this is an easy fix, since we can always (and probably should) do HTML::Mason::Request->instance. I'll include this in 1.26. David, can you add a test case? -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ ------------------------------------------------------- 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