2012年7月15日日曜日

PERL


PERLとかTESTするとき便利らしい?

さっそく調べてみる。
RUBYとやらやPHYTONとかもいいけどPERLがいいよとか

意味フな本の言うことに盲目的にしたがってみる。

できっこないのに間違って仮想環境にLINUXあんで

LINUX PERLとか入れてどつぼってみる。


http://www.google.co.jp/webhp?sourceid=chrome-instant&ie=UTF-8#hl=ja&output=search&sclient=psy-ab&q=PERL%20LINUX&oq=&gs_l=&pbx=1&fp=d530e58be1a8f8c4&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&biw=811&bih=699


http://d.hatena.ne.jp/chaichanPaPa/20090429/1240962147


@cent-test01 bin]$ ls pe*
perl  perl5.8.8  perlbug  perlcc  perldoc  perlivp
[maint01@cent-test01 bin]$ ls -ltr pe*
-rwxr-xr-x 1 root root 11937  9月 28  2010 perlivp
-rwxr-xr-x 1 root root   224  9月 28  2010 perldoc
-rwxr-xr-x 1 root root 17953  9月 28  2010 perlcc
-rwxr-xr-x 1 root root 36840  9月 28  2010 perlbug
-rwxr-xr-x 2 root root 14984  9月 28  2010 perl5.8.8
-rwxr-xr-x 2 root root 14984  9月 28  2010 perl

なんか仮想のCENT にはUSERBINにわらわらなんかいる、、


@cent-test01 bin]$ which perl
/usr/bin/perl


□バージョンの確認
cent-test01 bin]$ perl -v
5.8.8が入っているとのこと

-------------------------------イカ結果
This is perl, v5.8.8 built for i386-linux-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.



□パスはどこに通っているのか

WHICHコマンドで確認してみる。

1@cent-test01 bin]$ which perl

/usr/bin/perl
ここらしい



□PERLの拡張子は[.pl]らしい




http://adgjm.net/saas/linux_perl.htm

□CPANというのがあり、モジュールが沢山あるらしい
CPAN GOOGLE検索結果
https://www.google.co.jp/search?um=1&hl=ja&safe=off&q=Perl%E3%80%80cpan&bav=on.2,or.r_cp.r_qf.&bvm=bv.44011176,d.dGI&biw=1745&bih=825&ie=UTF-8&sa=N&tab=iw&ei=FX9JUd24A47ylAW58oG4CA




□CPANモジュールで厳選されたものを次バージョンに反映する
 流れらしい。

0 件のコメント:

コメントを投稿