jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I just tried the following:
Thnx a lot
Luca
I just tried the following:
Running this gives you/me the following warning:use warnings ; use strict ; my $total = 99 ; print "total is %s%\n", $total ;
Any suggestions how to get rid of this warning?Invalid conversion in printf: "%)" at /usr/lib/perl5/site_perl/5.8.7/M +y_module.pm line 401.
Thnx a lot
Luca
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: warnings when using % and printf
by Fletch (Bishop) on May 30, 2006 at 18:04 UTC | |
Re: warnings when using % and printf
by VSarkiss (Monsignor) on May 30, 2006 at 18:01 UTC | |
Re: warnings when using % and printf
by swampyankee (Parson) on May 30, 2006 at 18:25 UTC | |
Re: warnings when using % and printf
by HuckinFappy (Pilgrim) on May 30, 2006 at 19:07 UTC | |
Re: warnings when using % and printf
by jeanluca (Deacon) on May 30, 2006 at 18:25 UTC | |
by mikasue (Friar) on May 30, 2006 at 18:41 UTC | |
by jeanluca (Deacon) on May 30, 2006 at 19:14 UTC | |
Re: warnings when using % and printf
by mikasue (Friar) on May 30, 2006 at 18:37 UTC | |
by jeanluca (Deacon) on May 30, 2006 at 19:15 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Back to
Seekers of Perl Wisdom