Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: sharing complex data structures

by Anonymous Monk
on Jul 08, 2008 at 14:04 UTC ( #696222=note: print w/replies, xml ) Need Help??


in reply to Re: sharing complex data structures
in thread sharing complex data structures

Perl: 5.10 (1003)
threads: 1.71
threads::shared: 1.23

my asumption was correct, I need to somehow share my $res object. It's a http::response object so I'm sure of the best way to share it.

Replies are listed 'Best First'.
Re^3: sharing complex data structures
by renodino (Curate) on Jul 08, 2008 at 14:42 UTC
    Looks like you're running the latest stuff.

    IIRC, there's no file handles, coderefs, or ties in an HTTP::Response, so it may be as simple as share_clone($res).


    Perl Contrarian & SQL fanboy

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://696222]
help
Chatterbox?
[stevieb]: one of my long-running Perl procs crashes with a segfault (because it wraps C code) is crashing after an hour or so... seeing if wrapping the cli call with valgrind will produce something useful

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-04-29 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.