in reply to Re^2: How to get system user name from windows using perl
in thread How to get system user name from windows using perl

but How can I use this variable in my template process

You could put it in your $data hash:

$data->{username} = ...; ... $template->process(\*DATA, $data, $filename) ... \issuedby{[% username %]}

Replies are listed 'Best First'.
Re^4: How to get system user name from windows using perl
by veerubiji (Sexton) on Nov 10, 2011 at 16:39 UTC

    Than you very much thats perfect, its working.