develooper Front page | perl.perl5.porters | Postings from February 2003

[perl #20654] %*v02x considered invalid in printf

Thread Previous
Rafael Garcia-Suarez
February 2, 2003 18:09
[perl #20654] %*v02x considered invalid in printf
Message ID:
# New Ticket Created by  Rafael Garcia-Suarez 
# Please include the string:  [perl #20654]
# in the subject line of all future correspondence about this issue. 
# <URL: >

Jay Tilton reports this on c.l.p.misc : (<>)

$ perl5.8.0 -we 'printf "%*v02x"," ","foo"'
Invalid conversion in printf: "%0" at -e line 1.

$ perl5.6.0 -we 'printf "%*v02x"," ","foo"'
66 6f 6f

I don't see a reason why this construct shouldn't work.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About