in reply to eval "use $module" doesn't
What's wrong with building a list of things to check and then checking them at CHECK time? It seems easier to get right than fiddling around with evals. For example, interface forgets to check $@ for errors after it's eval so if a module has a syntax error you will probably get an error from interface complaining about missing functions when what you really want is something telling you about the syntax error.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: eval "use $module" doesn't
by ysth (Canon) on Aug 03, 2004 at 17:56 UTC | |
by fergal (Chaplain) on Aug 03, 2004 at 18:50 UTC |