Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: Re: Retrieving an NT machine name?

by BBQ (Curate)
on Jul 18, 2000 at 08:52 UTC ( [id://22945]=note: print w/replies, xml ) Need Help??


in reply to Re: Retrieving an NT machine name?
in thread Retrieving an NT machine name?

Or for strictly Windows machines (don't know of any other's that have this particular environment variable) you can use:
$ENV{COMPUTERNAME}
HTH...

#!/home/bbq/bin/perl
# Trust no1!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-29 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found