in reply to $^O empty in windows powershell
I guess that PowerShell uses double quotes like Perl does. Maybe try single quotes?
perl -e 'print $^O;'
|Replies are listed 'Best First'.|
Re^2: $^O empty in windows powershell
by WithABeard (Acolyte) on Nov 21, 2022 at 11:58 UTC
In Section Seekers of Perl Wisdom