Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Env.pm #23

Open
plicease opened this issue Jun 14, 2021 · 1 comment
Open

Doesn't work with Env.pm #23

plicease opened this issue Jun 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@plicease
Copy link

Input:

use strict;
use warnings;
use feature qw( say );
use Env qw( @PATH );

say for @PATH;

Output:

use strict;
use warnings;
use feature qw( say );
use Env ();

say for @PATH;

It looks like perlimports works with vars.pm, which is probably a similar sort of corner case.

@oalders
Copy link
Member

oalders commented Jun 14, 2021

Thanks! I wasn't aware of this issue. Looks like this needs to be special-cased.

@oalders oalders added the bug Something isn't working label Jul 8, 2021
oalders added a commit that referenced this issue Nov 24, 2021
since we don't know how to handle it. See #23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants