Other Globals in %once

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
Hi All,

Can you take a quick look at this thread on bricolage-devel?

   http://marc.theaimsgroup.com/?t=108307439800003&r=1&w=2

The upshot is that some globals we're setting for the Bricolage Mason 
burner aren't appearing in %once blocks. This is (somewhat) expected, 
but it's odd that Serge only gets an error periodically. Note that 
we're using the "in_package" parameter.

Also, I was wondering what's the reason for not allowing $m and other 
globals?  I'm thinking about setting these globals myself before 
calling $interp->exec(). That way, they should always be there, yes? 
It's not as clean as using $interp->set_global(), but would eliminate 
the complaints. Are there any issues with doing this?

Thanks,

David



-------------------------------------------------------
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
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.