From: Marius F. <al...@n0...> - 2007-12-20 14:26:25
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Emil-Nicolaie Perhinschi wrote: > Is there anything wrong with using this in autohandler > <%once> > our ($my_cute_app); > </%once> You're assuming that all the components run in the same namespace. > then using $my_cute_app in all components called by the autohandler? Hey Jon, at least he mentioned the autohandler dependency ;-) YMMV, but this "solution" sounds very much like PHP's "register_globals" ... or, even worse, like Mason's "allow_globals" :^) Cheers and merry, merry xmas/etc ;-) - -- Marius Feraru -----BEGIN PGP SIGNATURE----- iD4DBQFHanuLtZHp/AYZiNkRAo/UAJdt2KuIT9dmWKnQ+V+BMo/WRJp+AKCMe7eA FywYIJ+Cg6S7ZSmGIIyxiw== =HbMj -----END PGP SIGNATURE----- |