あたらしものずきっ!

試してみたものとか、遊んでみたものを色々記してみます。

Arkはじめ

でたばかりのフレームワークを試さない手はない、と思ってインストール。

ただ、やっぱりすんなりいかない。連載みたいな表示がでないことはもちろん。

Result: PASS
/Users/haoyayoi/Ark-0.001000_001/.
/usr/bin/make test -- OK
Directory '/Users/haoyayoi/Ark-0.001000_001/.' not below /Users/haoyayoi/.cpan/build, will not store persistent state

そして

zsh % ark.pl newapp Test                                        /Users/haoyayoi
"GetOptionsFromArray" is not exported by the Getopt::Long module
Can't continue after import errors at /Library/Perl/5.8.8/Ark/Command.pm line 5
BEGIN failed--compilation aborted at /Library/Perl/5.8.8/Ark/Command.pm line 5.
Compilation failed in require at /usr/bin/ark.pl line 7.
BEGIN failed--compilation aborted at /usr/bin/ark.pl line 7.

一応Getopt::Longは既にインストール済んでる。

日頃からperl触ってはいない人向け

cpan -t .

CPAN: Storable loaded ok
Going to read /Users/haoyayoi/.cpan/Metadata
Database was generated on Mon, 22 Jun 2009 17:26:57 GMT
Warning: Cannot test ., don't know what it is.
Try the command

i /./

to find objects with matching identifiers.

ってでる人は

sudo cpan -t .

ってすればいいと思う。