Excerpts from ch's message of Thu Jan 07 15:42:25 -0500 2010:
> I init my %session in a module (lets say config.pm).
> [...]
> if I rename config to configa and configb and use it in a and b it will 
> go fine.

Yes.  Module names are global, and Perl doesn't reload modules that you 'use'
(that would be inefficient), so each process will forever see only the copy of
config.pm that it loaded first.

This is pretty basic Perl module stuff, unrelated to Mason; you might want to
consult a manual or book about it (or perldoc -f require, if you like).

hdp.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to