Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: $^O empty in windows powershell

by Corion (Patriarch)
on Nov 21, 2022 at 11:53 UTC ( #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 (Acolyte) 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? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2023-02-03 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (26 votes). Check out past polls.

    Notices?