rand 函式提供亂數機制,如下: ... 若欲停止,請按Ctrl + C 鍵。 ... srand 或srand 任意數字例srand 5; 用例: #! /usr/bin/perl # 設亂數種子,以當時的時間做為亂 ...
確定! 回上一頁