in reply to Re: Re: use constant and exporter
in thread use constant and exporter
If you use OO, require will find your module, but of course the module will still create the Data::Validator::OO package and not an OO package, causing the following OO->import to fail (silently).BEGIN { require Foo; Foo->import; }
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^3: use constant and exporter
by Flame (Deacon) on Jan 28, 2003 at 23:08 UTC |