Re: How to make object properties accessible by same-named function

2004-03-10 Thread Michael C. Davis
At 01:26 PM 3/10/04 -0700, Wiggins d Anconia wrote: >I believe this is handled with Autoloading. Check out the Autoloading >section of perldoc perlsub for more. In particular check out the >AUTOLOAD method of the AppConfig::State module source: > >http://search.cpan.org/src/ABW/AppConfig-1.56/lib/A

Re: How to make object properties accessible by same-named function

2004-03-10 Thread Paul Johnson
On Wed, Mar 10, 2004 at 02:16:50PM -0600, Michael C. Davis wrote: > Hi, I saw this neat trick while looking at AppConfig.pm on CPAN. It lets > you define configuration variables in a file and, having read them, access > them either by name-as-string OR as a function having the name of the > variab

Re: How to make object properties accessible by same-named function

2004-03-10 Thread Wiggins d Anconia
> Hi, I saw this neat trick while looking at AppConfig.pm on CPAN. It lets > you define configuration variables in a file and, having read them, access > them either by name-as-string OR as a function having the name of the > variable, like so (copied from the CPAN documentation): > > # cre