Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Inheritance and Constants

by jgamble (Pilgrim)
on Aug 25, 2006 at 19:38 UTC ( #569698=note: print w/ replies, xml ) Need Help??

in reply to Re: Inheritance and Constants
in thread Inheritance and Constants

Subs are only inherited when called as (class or object) methods, as opposed to functions.

Thanks, I didn't know that.

"Did you really need to post 100s of lines to show constants aren't inherited?"

Well, given that I didn't know what aspect of my code was causing the problem, and that this is indeed a stripped-down version of it... I apologise for offending you.

Hmm, I was going to comment on your => note, but I see you've already removed that comment. Never mind.

Comment on Re^2: Inheritance and Constants
Re^3: Inheritance and Constants
by ikegami (Pope) on Aug 25, 2006 at 19:44 UTC
    You didn't offend me. It was a tip to get better service in the future.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-04-27 21:34 GMT
Find Nodes?
    Voting Booth?

    Who makes your decisions?

    Results (511 votes), past polls