On Thu, 27 Jul 2006, Doug Dawson wrote:

> Does the <%filter> tag have its own scope? I've noticed that if I try to
> access a varible from <%perl> blocks, I get an error. How can I get a
> variable I'm using in a code block over to a <%filter> block?

The contents of a filter block are basically in their own scope, although 
they should be able to see variables declared in a <%once> block.

If you need to pass a variable you can declare it with <%once>, or sticdk 
it in a global, or maybe provide a module interface to whatever info you 
need.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to