Re: Other Globals in %once
Dave Rolsky <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 28 Apr 2004, David Wheeler wrote: > On Apr 28, 2004, at 11:00 PM, Dave Rolsky wrote: > > > If you're calling set_global _before_ executing a component, then those > > globals should be available in the <%once> block. If they're not, > > that's > > a bug, I think. > > The variables are declared by C<use vars>, but they aren't yet assigned > to. Calling set_global does the assignment right there and then, so it should in fact be available in <%once> or anywhere else inside the component. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click