Alex Hermann writes:
Why have multiple separate functions for the same functionality? These enum functions could from the beginning have been defined as 'enum_query($lookup, $suffix, $service, $regexp_subject)' with all arguments pv's or static strings. The common use case would be enum_query($rU, ...).
alex,
"in the beginning" when enum module was written, PVs didn't exist yet. also, functions were restricted to max two arguments.
now we could change that in all modules and in all functions, but it requires work and breaks old scripts.
-- juha