Re: Using class::dbi::factory with multiple table classes in a single file

[prev] [thread] [next] [Date index for 2005/04/05]

From: merlyn (Randal L. Schwartz)
Subject: Re: Using class::dbi::factory with multiple table classes in a single file
Date: 18:47 on 05 Apr 2005
>>>>> "Thomas" == Thomas L Shinnick <tshinnic@xx.xxx> writes:

Thomas> Total speculation here, but I wonder if this situation is the
Thomas> reason for a bit of code I found in CGI::Prototype::Hidden :

Thomas>   eval "require $package" unless eval "defined %${package}::";

Thomas> Could it be that this strange checking is done to allow for
Thomas> multiple classes to be (already) defined within one file,

s/strange //, but "yes". :)

        -- 
        Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxx.xxx> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: Using class::dbi::factory with multiple table classes in a single file
merlyn (Randal L. Schwartz) 18:47 on 05 Apr 2005

Generated at 14:42 on 11 Apr 2005 by mariachi v0.52