
Hi there, trying to conform to 'Perl Best Practices', I have made use of the 'Readonly' module in order to declare two constants (page 55 in [the English version of] PBP). However, even after Thomas has fixed a related problem in the CVS-filter, that code is still being rejected, because Readonly.pm does not seem to be installed on the CVS server. After having read the complete perldoc of 'Readonly', I am not so sure if we should in fact use the module at all, as it seems to impose a considerable performance hit (factor 20!) when accessing such constants. What do you guys think: should we use Readonly (and thus install it on the CVS-server) or should we simply dump it and stick with normal package variables (which are of course not constant)? cheers, Oliver -- ((otrs)) :: OTRS AG :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!
participants (1)
-
Oliver Tappe