2009-07-01から1ヶ月間の記事一覧

ターミナルで”Google”をカラー表示

まず、ANSIColor.pmを作る。 package ANSIColor; use strict; use warnings; use base 'Exporter'; use constant { # foreground color BLACK => "\033[30m", RED => "\033[31m", GREEN => "\033[32m", YELLOW => "\033[33m", BLUE => "\033[34m", PURPLE =>…