I guess that PowerShell uses double quotes like Perl does. Maybe try single quotes?
perl -e 'print $^O;'
In reply to Re: $^O empty in windows powershell
by Corion
in thread $^O empty in windows powershell
by WithABeard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |