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: 19:03 on 05 Apr 2005
>>>>> "William" == William Ross <will@xxxxxxx.xxx> writes:

>> Total speculation here, but I wonder if this situation is the reason
>> for a bit of code I found in CGI::Prototype::Hidden :
>> 
>> eval "require $package" unless eval "defined %${package}::";

William> Ooh. That's nice. Let's do that.

Please also note that $package there must be trusted to be Not Evil.
It comes from an earlier ([\w:]+) match, if I recall.

        -- 
        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) 19:03 on 05 Apr 2005

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