in reply to Re^4: eval "require $class" seems wrong (::)
in thread eval "require $class" seems wrong
The choices of code I posted over 2 hours ago are all shorter, don't make your one minor mistake, and don't waste code making duplicate checks of %INC nor repeating parts of the error message that will be in $@. But, yeah, that's the general idea. :)
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: eval "require $class" seems wrong (code)
by rvosa (Curate) on Aug 23, 2007 at 14:10 UTC | |
by tye (Sage) on Aug 23, 2007 at 14:45 UTC |