in reply to Re^2: Singleton method wrappers for config file properties: Bad idea?
in thread Singleton method wrappers for config file properties: Bad idea?

I don't have to manually write a new accessor method

For a (mildly amusing) way to access values from a singleton config via methods, see using AUTOLOAD to access read-only data structures. But at the end, the core module Config.pm has all that is needed for a read-only config. Not everything has to be moosish.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re^3: Singleton method wrappers for config file properties: Bad idea?
  • Download Code