[問題] 剛接觸perl的極新手問題

看板Perl作者 ( )時間18年前 (2006/12/08 17:10), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
我作業系統是用windows XP (SP2) 有安裝ActivePerl (ActivePerl-5.8.8.819-MSWin32-x86-267479.msi) 然後使用Crimson Editor來編寫Perl (裡面的user tool裡的Command欄位中有填入 c:\perl\bin\perl.exe) 不過在執行最簡單的 "hello world" 時卻執行不出來... orz 以下是程式碼 (Crimson Editor就有的範例) #!/usr/bin/perl -w # basic template file for perl use strict; print "hello world\n"; 以下為Crimson Editor最底下顯示的結果 ---------- Capture Output ---------- > "C:\Perl\bin\perl.exe" hello world program.pl Can't open perl script "hello": No such file or directory > Terminated with exit code 2. 請問"No such file or directory"是代表我沒有設定好Perl嗎? 還是其他什麼問題呢?? 希望板上的高手能教我該怎麼做才能讓Perl正確的執行.. QQ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.68.65.221
文章代碼(AID): #15UImXeH (Perl)
文章代碼(AID): #15UImXeH (Perl)