"A. Pagaltzis" <[EMAIL PROTECTED]> writes: > The most problematic scripts I have is a set thatʼs launched by > GUI events, sometimes in rapid succession.
For purposes like this, I'd write dedicated scripts (e.g., no option parsing at all), or something simple like a first argument that can be checked quickly. > Even with less critical scripts, like my overhaul of the rename > script (where thereʼs no way Iʼm dropping to a less capable > switch parser), the fixed overhead is noticable when the scriptʼs > task is not computation intensive. The only option I see is to split Getopt::Long into a couple of smaller sub-modules, each optimized for a specific type of configuration (with / without bundling, variable references / options hash, and so on). -- Johan