Script ends at 'printf'

Bob Kleemann rkleeman at energoncube.net
Wed Dec 19 12:24:18 CST 2001


~sdpm~
>From what I can see, it looks correct.  Try the changing the double-quotes
into single quotes:  printf('$%4.2f', $price);

If that fixes it, the only explanation I could possibly have is that
somewhere there is a %4 hash being defined.  I somehow doubt it though.
Perhaps the problem is in a line before that.

On Wed, 19 Dec 2001, Ken Loomis wrote:

> I am using a Perl script to print an HTML page that displays an order
> summary.
> 
> It was working fine then suddenly started only generating part of the
> page.
> 
> I've been able to determine that it stops sending the HTML wherever I
> insert the following statement:
> 
>     printf("\$%4.2f",$price);
> 
> I am baffled.
> 
> Any ideas?
> 
> Thanks for any suggestions anyone may have.
> 
> --
> Ken Loomis
> Consultant
> Windows, Macintosh, Internet, etc.
> Helping to make your technology
> experience more pleasant  ;-)
> 619-275-6919 / KLoomis at BigPlanet.com
> 
> 

~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list