in reply to Re^2: need some OO help
in thread need some OO help
Put it in your derived class instead (and turn it into a class method.)
package MyConf; ... BEGIN { __PACKAGE__->_load_config; }
That will call _load_config (as a method) in your parent class, which will call config_file_path in your child class.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: need some OO help
by Qiang (Friar) on Mar 26, 2007 at 21:36 UTC |