Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Here is what I'm doing:
The problem is that the $res object contains a few methods like $res->decoded_content, $res->is_success, etc.my $data :shared = shared_clone({}); bless($data); ... my $res = $mech->get("$url"); $data->{'current_info'} = $res; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sharing complex data structures
by Joost (Canon) on Jul 07, 2008 at 19:36 UTC | |
|
Re: sharing complex data structures
by jettero (Monsignor) on Jul 07, 2008 at 19:35 UTC | |
|
Re: sharing complex data structures
by renodino (Curate) on Jul 08, 2008 at 03:13 UTC | |
by Anonymous Monk on Jul 08, 2008 at 14:04 UTC | |
by renodino (Curate) on Jul 08, 2008 at 14:42 UTC |