> One slight downside is that $DBI::PurePerl::lasth will hold a reference
> to the last handle thus potentially preventing global destruction.
> The DBI plays naughty low-level tricks to avoid that.
> But we'll need $DBI::PurePerl::lasth to emulate $DBI::lasth so
> we have to face it. Optionally using this
>     http://search.cpan.org/doc/LUKKA/WeakRef-0.01/WeakRef.pm
> if available will help.
>
> Tim.

Is $DBI::lasth really worth the trouble?  I would rather not have to use one
handle just to free another.  I'm already paranoid about my handles not getting
freed.  What does $DBI::lasth give users that they can't get otherwise?

This reminds me of the $&/$`/$'/sawampersand boondoggle.

-John


Reply via email to