Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: getpwuid issue

by akrrs7 (Acolyte)
on Dec 02, 2011 at 16:53 UTC ( [id://941378]=note: print w/replies, xml ) Need Help??


in reply to Re^3: getpwuid issue
in thread getpwuid issue

Well...Obviously I'm a novice at perl. I had an assumption that perl could be portable across various OS - but apparently not that easily. I'm not asking anyone to implement anything...but help with providing an alternative solution.

Replies are listed 'Best First'.
Re^5: getpwuid issue
by afoken (Chancellor) on Dec 02, 2011 at 17:13 UTC
    I had an assumption that perl could be portable across various OS - but apparently not that easily.

    Right. Perl was written on Unix systems and tries really hard to provide that interface even on other systems. But Windows really sucks at being a Unix. ;-) Your best best may be one of the modules with Win32 in its name. To find the name of a files owner, you need to call a different function on Windows.

    See also perlport and the links at the end of that document.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re^5: getpwuid issue
by marto (Cardinal) on Dec 02, 2011 at 17:54 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found