http://qs321.pair.com?node_id=11148286


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;'