批踢踢實業坊
›
看板
Perl
關於我們
聯絡資訊
返回看板
作者
handsomegirl (薰)
看板
perl
標題
[問題] 目錄與新檔
時間
Mon Aug 6 10:56:47 2007
一般都是用絕對的方式去產生新目錄 或是把檔案寫到檔案 有方法是可以讓使用者自己輸入要建立的資料夾及檔案名稱嗎? 我這樣寫,不過無法產生 print "please enter the name of directory\n"; $file=<STDIN>; mkdir "c:\\test\\$file"; --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.65.55.161