Re: inheriting from DBIx::Recordset

2001-10-04 Thread alan milligan
Gerald, Unfortunately, I was experiencing a lot of other function dispatch problems with inheritance. It is very difficult to have confidence with the Perl dispatch mechanisms for OO, so I was too nervous to proceed with this, as there is quite an amount of code in DBIx::Recordset to both und

RE: Re[2]: Formatting Variables in Perl

2001-10-04 Thread Carter, Pamela A.
Thank you so much! it worked! :) -Original Message- From: Luiz Fernando B. Ribeiro [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 2:44 PM To: Carter, Pamela A. Cc: [EMAIL PROTECTED] Subject: Re[2]: Formatting Variables in Perl Hi Pamela, Reply: CPA> Im still having troub

Re[2]: Formatting Variables in Perl

2001-10-04 Thread Luiz Fernando B. Ribeiro
Hi Pamela, Reply: CPA> Im still having trouble. Will this work with Print MAIL as well? You can't use sprintf inside double quotes in print, try this: print MAIL 'You got R$ ' . sprintf("%.2f", $valor) . 'bucks!'; or you could try to use the printf command instead of print, but the sintax i

Re: Formatting Variables in Perl

2001-10-04 Thread Gerald Richter
>Im still having trouble. Will this work with Print MAIL as well? If MAIL is a filehandle, Yes Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Po

Re: Setup of CGI.pm failed

2001-10-04 Thread Gerald Richter
> > Thanks Gerald - unfortunately I still don't know *WHY* CGI.pm dies - > and I am lost about how to find out. > > I have put in a log line just after the eval to dump %ENV, but this > does not look particularly unusual. > Could you print out $@ directly after the eval { $cgi = new CGI } ;

RE: Formatting Variables in Perl

2001-10-04 Thread Carter, Pamela A.
Im still having trouble. Will this work with Print MAIL as well? -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;

RE: Formatting Variables in Perl

2001-10-04 Thread Carter, Pamela A.
Thank you! -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\$ $val

Re: Shortcommings of DBIx

2001-10-04 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 10:06 PM +0200 10/2/01, Gerald Richter wrote: > > But, nothing displayed. It turns out that if there is something missing >> from a column, then nothing gets displayed. That is note1 is not required >> to entered by the user, but I want to dis

Re: Formatting Variables in Perl

2001-10-04 Thread Luiz Fernando B. Ribeiro
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 who

Formatting Variables in Perl

2001-10-04 Thread Carter, Pamela A.
I am passing a variable that needs to be in currency format (with two decimal places). It passes as a whole number with no decimal. How can I format this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-