in reply to Re^2: perl inheritance
in thread perl inheritance
Would this be invoked in the constructor of the derived class?Of course not! This is something you need to be done once, and on class level. So, you'd do it outside of any method. That way, it get executed when you use the module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl inheritance
by Anonymous Monk on Mar 23, 2012 at 20:21 UTC | |
by tobyink (Canon) on Mar 23, 2012 at 23:06 UTC | |
by JavaFan (Canon) on Mar 23, 2012 at 23:26 UTC | |
by tobyink (Canon) on Mar 24, 2012 at 13:12 UTC | |
by JavaFan (Canon) on Mar 24, 2012 at 13:46 UTC | |
by JavaFan (Canon) on Mar 23, 2012 at 20:27 UTC | |
|
Re^4: perl inheritance
by Anonymous Monk on Mar 23, 2012 at 20:35 UTC |