Don't forget you can use $m->notes(...) to store variables and objects for each request instance.
Raymond Wan wrote: > Hi Jean-Christophe, > > [EMAIL PROTECTED] wrote: > >> I guess this has to do with the design I have used (I'm >> converting an Embperl project) but I wonder if there is >> a place where I can read information on how to share >> variables and functions easily. >> >> > > I just learned about Mason a few weeks ago and with no experience with > any Apache/perl. I went to my library and found the Mason book, which > you can view on-line: > > http://www.masonbook.com/ > > There is a chapter on building a web site and a great discussion before > that. Perhaps you can use their Chapter 8 as a model? In their code, > they used only a few globals...things like the database and username. > Most other things weren't global. > > Anyway, if you haven't read it already, it's worth a look. > > Ray > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users