For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > March 2004 > Is there a module for geting USER info on WIN32,unix,..









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Is there a module for geting USER info on WIN32,unix,..
Shahriar

2004-03-31, 2:30 am

Hi,

I need to get some basic user info from WIN32,unix,.. platforms (thing like
user name, user email, machine name,
... ) is there a module in CPAN that I use

Thanks,

-shahriar


Sherm Pendley

2004-03-31, 2:30 am

Shahriar wrote:

> I need to get some basic user info from WIN32,unix,.. platforms (thing
> like user name, user email, machine name,
> .. ) is there a module in CPAN that I use


There's the core (i.e. standard with Perl, not CPAN) modules User::pwent and
User::grent. I don't know if or how they work on Windows.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com