Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: reading env variable in cygwin using perl

by blogical (Pilgrim)
on Mar 27, 2006 at 16:58 UTC ( [id://539483]=note: print w/replies, xml ) Need Help??


in reply to reading env variable in cygwin using perl

My Cygwin %ENV (@work) has `OS`, not `OSTYPE`. Try running
perl -e 'print $ENV{OS}'
, which gives me `Windows_NT`.

"One is enough. If you are acquainted with the principle, what do you care for the myriad instances and applications?"
- Henry David Thoreau, Walden

Replies are listed 'Best First'.
Re^2: reading env variable in cygwin using perl
by blogical (Pilgrim) on Mar 27, 2006 at 17:01 UTC
    ... or did you mean `$^OS`, which may be different?

    "One is enough. If you are acquainted with the principle, what do you care for the myriad instances and applications?"
    - Henry David Thoreau, Walden

Log In?
Username:
Password:

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

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

    No recent polls found