perl随便
时间:2010-04-18 来源:fucj
1.2010-04-18 format 输出
format STDOUT=
@||||| ################$name居中对齐在5个字符内
$name
@<<<<< ################$word左对齐在5个字符内
$word
@>>>>> ###############右对齐
@<<<<<< @<< @>>>>>>>>>>>
$town,$street,$state
. ##########点号表示格式结束
$town='aa';
$street='bb';
$state='cc';
write(); ##########输出标识
相关阅读 更多 +