duffee / Astro-Constants

This Perl module provides physical constants usefull for astronomy in MKS and CGS systems
0 stars 1 forks source link

interpolated variables #5

Closed duffee closed 8 years ago

duffee commented 8 years ago

do we want to give people interpolated variables through Lexical::Import or Scalar::Constant?

duffee commented 8 years ago

Lexical::Import requires boilerplate on the caller's code and Scalar::Constant (a good choice, fast and simple) is an extra dependancy outside of the core that I don't wish to force on my users. I've gone with the Camel Book example of using typeglobs *PI = \3.14;