Here is a WSL bash session in which I attempt to access an Environment variable within a perl one liner:
$ ln='Hello World'
$ echo $ln
Hello World
$ perl -E 'say $ENV{q(ln)}'
$
Why does the perl expression $ENV{q(ln)}
not contain the expected Environment variable ln
?