Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 (Beadle) 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 wandering the Monastery: (5)
As of 2025-12-10 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (90 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.