Eric Wilhelm <[EMAIL PROTECTED]> writes:

> It's about a package modifying a global variable deep inside the
> core of its functionality.

It's clearly defined to do so, and all Getopt:: modules operate that
way.

It's even *IMPORTANT* that @ARGV gets modified, when the next thing
you want to do is something like 

  while ( <> ) {
    ...
  }

There's no point in introducing extra overhead (and typing) by
explicitly having to pass a ref to @ARGV. 

But I agree that it sometimes would be nice to be able to pass a ref
instead of having to localise @ARGV. 

-- Johan

Reply via email to