Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: How to get system user name from windows using perl

by Eliya (Vicar)
on Nov 10, 2011 at 15:18 UTC ( #937396=note: print w/ replies, xml ) Need Help??


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 %]}


Comment on Re^3: How to get system user name from windows using perl
Select or Download Code
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2014-10-24 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (134 votes), past polls