Perl 程式設計/關鍵字/format
外觀
| 上一個:foreach | 關鍵字 | 下一個:formline |
Theformat命令宣告一個圖片格式,供 write 函式使用。
format
format Something =
Test: @<<<<<<<< @||||| @>>>>>
$str, $%, '$' . int($num)
.
$str = "widget";
$num = $cost/$quantity;
$~ = 'Something';
write;
| 上一個:foreach | 關鍵字 | 下一個:formline |