On 10/26/07, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am executing my $usr=qx("who am i"); to get the user id on unix
> machine but it is giving error. sh: who am i: not found
>

Oops,it's `whoami` not `who am i` unless you have aliased it.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to