Thread Term::ANSIColor – Problem mit printf (2 answers)
Opened by Color at 2009-04-01 20:12

Dubu
 2009-04-01 21:40
#120140 #120140
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
Ich empfehle, es umgekehrt zu machen: Erst die Zahl formatieren, dann die Farbe:
Code (perl): (dl )
print colored(sprintf("%5s", $count), 'magenta'), " $_\n";

Last edited: 2009-04-01 21:41:30 +0200 (CEST)

View full thread Term::ANSIColor – Problem mit printf