in reply to Re^2: $^O empty in windows powershell
in thread $^O empty in windows powershell
PS C:\Windows\system32> perl -E'say @ARGV' 'say "bla"' say bla PS C:\Windows\system32> perl -E'say @ARGV' 'say qq(bla)' say qq(bla) PS C:\Windows\system32> echo 'say "bla"' say "bla" PS C:\Windows\system32> echo 'print "bla"' |perl bla PS C:\Windows\system32> echo 'print "bla"' |perl -E'say <>' print "bla" PS C:\Windows\system32>
this could be an artifact of Perl trying to repair input from CMD ... (?)
(I think eyepops will soon come up with an older discussion about the Perl trying to cleverly fix CMD idiosyncrasies ;)
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: $^O empty in windows powershell
by LanX (Saint) on Nov 22, 2022 at 20:43 UTC | |
by eyepopslikeamosquito (Archbishop) on Nov 22, 2022 at 21:56 UTC | |
by LanX (Saint) on Nov 22, 2022 at 22:17 UTC |