On Thu, 14 Feb 2002 at 19:46 GMT, Jerry Everett Jr wrote: > I am having a problem printing percents within my PERL program when I > add in CGI.
You have a problem with your parens in the printf function. #!/usr/bin/perl -w use strict; use CGI qw(:html); for my $percent ( 0.5, 5.434, 12.12, 100 ){ printf(p('2.Percent addresses used: %2.0f%%'), $percent) } __END__ -- briac << dynamic .sig on strike, we apologize for the inconvenience >> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]