diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-07-12 10:17:38 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-07-25 02:17:37 +0200 |
commit | c227454ff51a5a51f811547340f71de24c37cf7f (patch) | |
tree | a05af643cf89ad372a74f1d13da7e0ce6ec57eb0 | |
parent | de2d56f54918133c4aab7a9f6456c8f8b4511ac1 (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 ; |