diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-07-12 10:17:38 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-07-12 10:17:38 +0200 |
commit | 0d628c409639d26803e705dc14286581099097da (patch) | |
tree | a05af643cf89ad372a74f1d13da7e0ce6ec57eb0 | |
parent | 4efcc1c4ed3b39d6a86ccdd20410cde528ffad3c (diff) |
Substitute - to _ in env variable reads
-rw-r--r-- | lib/Config.rakumod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Config.rakumod b/lib/Config.rakumod index 9e2a114..f85774a 100644 --- a/lib/Config.rakumod +++ b/lib/Config.rakumod @@ -370,6 +370,7 @@ method !read-from-env ( # Shell-style variable names. my $var = "$name$key" .subst('.', '_', :g) + .subst('-', '_', :g) .uc ; |