Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://696222]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-10-24 02:45 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.