thanks for your reply and I tried as you said like this,
my $username = getlogin || getpwuid($<) || "veeru"; print $username;
it printing my usename its working ok but How can I use this variable in my template process.
In reply to Re^2: How to get system user name from windows using perl
by veerubiji
in thread How to get system user name from windows using perl
by veerubiji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |