~tyil/raku-config

0d628c409639d26803e705dc14286581099097da — Patrick Spek 4 months ago 4efcc1c
Substitute - to _ in env variable reads
1 files changed, 1 insertions(+), 0 deletions(-)

M lib/Config.rakumod
M lib/Config.rakumod => lib/Config.rakumod +1 -0
@@ 370,6 370,7 @@ method !read-from-env (
			# Shell-style variable names.
			my $var = "$name$key"
				.subst('.', '_', :g)
				.subst('-', '_', :g)
				.uc
				;