>I have declared a session variable in preceeding ASP pages.  How do I call
>the session variable in Perl?
>

You have a hash called %udat. Everything you store there is preserved as
session data.

But you have to configure session handling correctly first. See
http://perl.apache.org/embperl/Embperl.pod.7.html#Session_handling

>FYI - It also needs to be in Currencyformat

That doesn't matter

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

-----Original Message-----
From: Luiz Fernando B. Ribeiro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 12:34 PM
To: Carter, Pamela A.
Subject: Re: Formatting Variables in Perl


Hi Pamela,

Try this:

$value = 200;

$value_ok = sprintf("%.2f", $value);

print "R\$ $value_ok"; # gives R$ 200.00

Resposta a sua mensagem de quinta-feira, 4 de outubro de 2001:

CPA> I am passing a variable that needs to be in currency format (with two
CPA> decimal places).  It passes as a whole number with no decimal.  How can
I
CPA> format this?

CPA> ---------------------------------------------------------------------
CPA> To unsubscribe, e-mail: [EMAIL PROTECTED]
CPA> For additional commands, e-mail: [EMAIL PROTECTED]




Sem mais,

Luiz Fernando B. Ribeiro
Engenho Soluções para a Internet
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to