Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: $^O empty in windows powershell

by Corion (Patriarch)
on Nov 21, 2022 at 11:53 UTC ( [id://11148286]=note: print w/replies, xml ) Need Help??


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 (Sexton) on Nov 21, 2022 at 11:58 UTC

    Right you are! How typical of Microsoft to not be consistent, atleast this is an improvement :P

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11148286]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-20 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found