From: Davide P. C. <dp...@un...> - 2006-11-27 00:43:28
|
> [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 think if you make these our %fundamental_units and our %known_units that would satisfy the strict pragma, and still make them available from outside. Davide |