The main idea:

I have a soap request sent, and respose receive.
I have a problem with the parse response method, which mixes up the
values retrieve possibly
due to namespaces issue.
What i needed is a copy of the respose object, which i could store and
reload on instance,
while doing improvment on the parse_request method

Chanan

On Wed, Dec 1, 2010 at 2:29 PM, Shmuel Fomberg <[email protected]> wrote:
> Hi Chanan.
>
> Have you enabled the two variables that are mentioned in the
> documentation? (copied below)
> Also make sure that you have B::Deparse installed.
>
> However, I think that generally storing and restoring code refs are not
> a good idea. It means that when you update your code, the stored object
> will spring from the file with old version of the code. but if that is
> what you have to do...
>
> Shmuel.
>
> ------------------
> CODE REFERENCES
>
> Since Storable version 2.05, CODE references may be serialized with the
> help of B::Deparse. To enable this feature, set $Storable::Deparse to a
> true value. To enable deserialization, $Storable::Eval should be set to
> a true value. Be aware that deserialization is done through eval, which
> is dangerous if the Storable file contains malicious data. You can set
> $Storable::Eval to a subroutine reference which would be used instead of
> eval. See below for an example using a Safe compartment for
> deserialization of CODE references.
>
> If $Storable::Deparse and/or $Storable::Eval are set to false values,
> then the value of $Storable::forgive_me (see below) is respected while
> serializing and deserializing.
> ----------------------------------
>
>
> On 2010/12/01 19:00, Chanan Berler wrote:
>> 2.20
>>
>> On Wed, Dec 1, 2010 at 11:44 AM, Ephraim Dan<[email protected]>  wrote:
>>>
>>> Is it possible that your version of Storable is so ancient that it doesn't 
>>> support freezing CODE references?
>>> What does $Storable::VERSION say?
>>>
>>> _______________________________________________
>>> Perl mailing list
>>> [email protected]
>>> http://mail.perl.org.il/mailman/listinfo/perl
>>>
>>
>>
>>
>
> _______________________________________________
> Perl mailing list
> [email protected]
> http://mail.perl.org.il/mailman/listinfo/perl
>



-- 
===================
----     Chanan Berler    ----
===================
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to