[問題] 剛接觸perl的極新手問題
我作業系統是用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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Perl 近期熱門文章
PTT數位生活區 即時熱門文章