#7 Inconsistent use() and whitespace handling

closed-fixed
nobody
None
5
2002-04-25
2002-04-21
No

There seems to be some inconsistency with use() and
whitespace; this:

use Foo::Bar ();
use Foo::Bar 1.0 ();
use Foo::Bar qw(baz);
use Foo::Bar 1.0 qw(baz);

...will be modified to:

use Foo::Bar();
use Foo::Bar 1.0 ();
use Foo::Bar qw(baz);
use Foo::Bar 1.0 qw(baz);

...notice the space in the first line between the
module and the parens is gone. I'd expect to see a
single space there.

The other lines in this example are output as
expected.

Discussion

  • Steve Hancock

    Steve Hancock - 2002-04-25
    • status: open --> closed-fixed
     
  • Steve Hancock

    Steve Hancock - 2002-04-25

    Logged In: YES
    user_id=126278

    Thanks for the bug report. It is fixed in the next release.

     

Log in to post a comment.