-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to make a recordset persistent so that it doesn't have to 
repeatedly load the meta-data and type translation code every time a 
page loads.  However it appears that the code in Embperl.pm deletes 
recordsets without checking to see whether I've added them to the 
CLEANUP hash.  Am I missing something here?  Is there a way I can 
avoid doing this every time?

         *set = DBIx::Recordset->Setup({
                 '!DataSource' => $db,
                 '!Table' => $this->{calTable},
                 '!PrimKey' => 'id',
                 '!Filter' =>
                     {
                         'startdate' => $dateparse,
                         'stopdate' => $dateparse,
                         'starttime' => $timeparse,
                         'stoptime' => $timeparse,

                         #!! This is a hack.  We should insure this is unique.
                         'id' => [
                                     sub {
                                         if ($_[0] eq '') {
                                             return time();
                                         } else {
                                             return $_[0];
                                         }
                                     },
                                     undef
                                 ],
                     },
         });

- -- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3

iQA/AwUBO5JEYyZsPfdw+r2CEQJKDACgm9oftPsXJnD8v14qFBAkOWgdaLgAnizy
HQxqX4mEtdIkhzlIEO9kl7lV
=w8YP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to