in reply to Perl etiquette - eval
Nothing particularly wrong with that. One Big Eval for the entire program isn't part of my personal style, but I suppose it's sensible as long as there are little evals burried within for more specific errors. Any performance loss should be minimal, unless there is an eval inside a critical loop. The only particular issue I can think of is that evals sometimes do funny things to stacktraces, so debugging might be harder.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl etiquette - eval
by waswas-fng (Curate) on Jan 18, 2004 at 00:04 UTC |