in reply to Re^3: sub BEGIN
in thread sub BEGIN

just one more question if I may
where is SOAP::Deserializer::typecast being defined?

I searched on cpan and was not able to find them.

Replies are listed 'Best First'.
Re^5: sub BEGIN
by ikegami (Patriarch) on May 10, 2010 at 17:48 UTC

    Line -11 to -2 of the code you posted.

    ...which replaces the definition found in SOAP/Lite.pm

    Update: Added second line.

      ...which replaces the definition found in SOAP/Lite.pm

      Hrm, your statement seems to assume an order of execution other than that manifested by the posted code (either that or SOAP::Lite defines its version of SOAP::Deserializer::typecast() in some weird way (which doesn't appear to be the case).

      So that would seem to be a bug in the posted code as well (which makes me wonder if I'm missing something, but if so I still don't see it).

      - tye        

        soap::Lite is very hard to understand and it seem to incoporate lot of other classes under it.
        In my limited module reading, I still do not see where SOAP::Deserializer::typecast is being defined. Since I cannot find them in cpan.org, I might as well wrote the sub as,
        sub anything::typecast { }
        ?? or does keyword typecast(other than actually doing the typecasting which I don't know why perl would need it in general case) mean something else for general module?