Hello There! I've got an design question: I want to use Crypt::PassGen to generate pronouncable random passwords. Currently i simple "use Crypt::PassGen" in the corresponding Controller. Works fine (even though i'm not realy aware what will happen in a later mod_perl enviroment...).
But dispatching the App this way, will create a situation that the app starts even if the module is not present on the deployment machine. But at the moment if somebody tries to add a new User, the application crashes complaining about not finding the module. So i'm asking for a way, i can tell "i need module X" so that perl can complain about it at apllication-start-time if it's not intalled but not carry the entire exported module stuff throughout my entire app if i only need it in one special place? First i thought about adding to myApp.pm: use Crypt::PassGen; no Crypt::PassGen; but i'm not sure if thats a good idea? Any other suggestions on how to solve this problem in a elegant way are very welcome. :) Thanks, Sven _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/