Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kills DBHs [rt.cpan.org #21328] #17

Open
atoomic opened this issue Oct 25, 2018 · 1 comment
Open

Kills DBHs [rt.cpan.org #21328] #17

atoomic opened this issue Oct 25, 2018 · 1 comment
Labels
Need Help need some feedback or help

Comments

@atoomic
Copy link
Collaborator

atoomic commented Oct 25, 2018

Migrated from rt.cpan.org#21328 (status was 'open')

Requestors:

Attachments:

From [email protected] on 2006-09-05 09:45:42:

After cloning, my DBI database handles barf with:

Can't call prepare method on handle DBI::db=HASH(0x25755c8) after 
take_imp_data() at ../lib/Radio/Four/Programme.pm line 104.

From [email protected] on 2006-10-08 06:03:33:

A DBH is something can't be cloned (at least by Clone) since there are
too many underlying objects like C structures, file handles, etc that
Clone doesn't handle.  

A DBI database handle does have it's own clone method. I have considered
having Clone check an object for a native clone method and using that in
preference of it's own, but I think it might be a little too ambitious
for me.

From [email protected] on 2006-10-09 09:28:50:

via RT wrote:
> <URL: http://rt.cpan.org/Ticket/Display.html?id=21328 >
>
> A DBH is something can't be cloned (at least by Clone) since there are
> too many underlying objects like C structures, file handles, etc that
> Clone doesn't handle.  
>
> A DBI database handle does have it's own clone method. I have considered
> having Clone check an object for a native clone method and using that in
> preference of it's own, but I think it might be a little too ambitious
> for me.
>
>   
Having Clone check a blessed reference for a clone method should be 
really simple, using UNIVERSAL isa, so why not give it a shot?  Sounds 
like a great return for a little investment...!

Just a thought. I could supply you a patch ?

Lee

-- 
Lee Goddard
Server-side Systems Ltd
London N1 :: 0208 369 6832

From [email protected] on 2006-10-11 04:10:44:

Hi Lee,

I'm glad you wrote, I had lost your previous email when I deleted an 
entire month of archived messages.

By all means, if you want to supply a patch I will gladly look at it.

Sincerely,
Ray Finch
<[email protected]>

On Mon, 9 Oct 2006, [email protected] via RT wrote:

>
>       Queue: Clone
> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21328 >
>
> via RT wrote:
>> <URL: http://rt.cpan.org/Ticket/Display.html?id=21328 >
>>
>> A DBH is something can't be cloned (at least by Clone) since there are
>> too many underlying objects like C structures, file handles, etc that
>> Clone doesn't handle.
>>
>> A DBI database handle does have it's own clone method. I have considered
>> having Clone check an object for a native clone method and using that in
>> preference of it's own, but I think it might be a little too ambitious
>> for me.
>>
>>
> Having Clone check a blessed reference for a clone method should be
> really simple, using UNIVERSAL isa, so why not give it a shot?  Sounds
> like a great return for a little investment...!
>
> Just a thought. I could supply you a patch ?
>
> Lee
>
> -- 
> Lee Goddard
> Server-side Systems Ltd
> London N1 :: 0208 369 6832
>
>
>
@atoomic atoomic added the Need Help need some feedback or help label Oct 25, 2018
@atoomic
Copy link
Collaborator Author

atoomic commented Oct 25, 2018

@leegee this RT case was migrated to GitHub, are you still interested by providing a patch for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Help need some feedback or help
Projects
None yet
Development

No branches or pull requests

1 participant