Re: whoami implementation

[email protected] Wed, 4 Oct 2006 11:38:10 -0700
Newsgroups perl.ppt
Message-ID <[email protected]>
On 10/4/06, Ricardo SIGNES <[email protected]> wrote:
> * [email protected] [2006-10-04T12:47:11]
> > print getpwuid($>)."\n";
>
> Cute, but won't work on Win32, and possibly elsewhere.
Is there any real use for whoami on win32?

I've seen worse though...
one cat implementation is the usual
> print while <>;