看板 Perl 關於我們 聯絡資訊
我是perl新手 shell script懂一些 我想要算一個程式的運行時間 想請問perl中如何像shell一樣呼叫指令 ex: #!/bin/sh date 不知道在perl中如何叫linux的指令出來用 感謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.144.184
paulpu:system 或 qx// ? 01/04 18:02
snowfly:`date` 01/04 19:22
paulpu:這是在bash嗎@@? 01/04 21:14
paulpu:open CMD,"date|" ? 01/04 21:17
icemango:算時間在頭尾取 time 就好了吧? 01/06 01:08
paulpu:time 程式明 01/06 02:26
kzgiant:我要找的就是time 謝謝熱心的各位 01/07 06:51