From: "Alejandro Imass" <[email protected]>
3) It is written somewhere (I couldn't find it before writing this but I know is in the POD somewhere) that it is not a good idea to pass the complete $c reference to the per-request object, but rather only the necessary pieces of $c. What are the implications of passing the complete $c ?
If you pass the context $c to the business model, and the business model would need to access the attributes and methods offered by $c, then you won't be able to use that business model outside of Catalyst because you won't have the context variable available.
Octavian _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
