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

Re^8: sub BEGIN (def'n)

by tye (Sage)
on May 10, 2010 at 20:54 UTC ( #839311=note: print w/ replies, xml ) Need Help??

in reply to Re^7: sub BEGIN (order)
in thread sub BEGIN

Click SOAP::Lite then click the "Source" link near the top to get to Search for "sub typecast" and then search backward for /^package/ and you'll find the "package SOAP::Deserializer;" line. Thus the "sub typecast" is where the original SOAP::Deserializer::typecast() is defined. And, no, "typecast" is not a special keyword. Search for uses of "typecast" elsewhere in that source code.

I suspect (but haven't verified) that "they" expect you to "replace" the typecast() functionality by subclassing (inheritance) rather than how it is attempted in the root of this thread.

- tye        

Comment on Re^8: sub BEGIN (def'n)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2015-10-10 00:35 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls