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

For include, allow scalars without the file extension #180

Open
phudlow opened this issue Oct 10, 2017 · 0 comments
Open

For include, allow scalars without the file extension #180

phudlow opened this issue Oct 10, 2017 · 0 comments

Comments

@phudlow
Copy link

phudlow commented Oct 10, 2017

When using include, barewords are currently allowed:

include foo;

However, when including the same value as a scalar, this isn't allowed:

include "foo";
or
my $foo = "foo"; include $foo;

It becomes necessary to concatenate the extension for the file to be included:

include $foo ~ ".tx";

As a quality of life improvement, just being able to use a scalar of the file name without the extension would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant