看板 Perl 關於我們 聯絡資訊
hello,各位版上的先進大家好: 小弟最近想要開始學習perl,那本人現在系統是10.6,爬了蠻多文都指原本系統 下就有可以用了。不知哪位大大有相關的使用經驗,可以分享,因為小弟一直摸 不著頭緒。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.195.1.177
abliou:anysomething對於mac和perl有些心得,也許可以和他討論 10/19 00:44
yanganto:就寫純文字的檔案,副檔名 .pl ,然後在終端機下面打 10/19 00:57
yanganto:perl filename.pl 這樣就會執行了很方便的... 10/19 00:57
kornelius:個人是比較 prefer 使用 macports 的 perl5.10.1 10/19 11:23
hasheesh:開terminal 用vi寫吧 就像在linux下使用一樣囉 10/19 13:11
kornelius:建議使用編輯器 vim .... (可以由 macports 安裝) 10/19 13:27
g9678007:好奇怪喔 都會跑出 Can't open perl script 10/19 21:13
g9678007:: No such file or directory 10/19 21:14
g9678007:perl -e 'print "hello world!\n"' 這就可以 10/19 21:14
g9678007:是第一行#!/usr/bin/perl 位置的問題嘛? 10/19 21:15
g9678007:我弄好的.pl檔釋放在桌面 怎麼這樣子 10/19 21:16
g9678007:解決謝謝各位 10/19 22:35
kornelius:did you install macports ? 10/19 22:51