From: Michael G. <ga...@ma...> - 2006-11-27 00:15:30
|
Davide Cervone writes, in reference to adding units to the answers involving functions: [If we made the hash of known units be public rather than private in Units, we could do a better job of this, and could treat kg m/s as kg*m/s for example.] ----------- I don't see any reason not to make these public. I believe that if we replaced the "my" variables by %Units::fundamental_units and %Units::known_units things would still work. (We might have to modify a few calls in the Units.pm to satisfy the use strict.pm pragma.) I'll be happy to do this unless someone can see objections. To the best of my recollection these variables were private only because there was no need to make them public - previously. Take care, Mike |