Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

warnings when using % and printf

by jeanluca (Deacon)
on May 30, 2006 at 17:57 UTC ( #552570=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings ;
    use strict ;
    ...
    my $total = 99 ;
    print "total is %s%\n", $total ;
    
  2. or download this
    Invalid conversion in printf: "%)" at /usr/lib/perl5/site_perl/5.8.7/M
    +y_module.pm line 401.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://552570]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2023-12-04 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (20 votes). Check out past polls.

    Notices?