PerlCasual#02 ã¸ãã£ã¦ãã¾ãã
Twitter ã§ã¯è¨³ãã£ã¦ hatyuki ã«æ¹åãã magicalhat ã§ãã
æ²ããã«ã¾ãé æ¹ããåå ããã¦ããã ãã¾ããã®ã§ãè¶
ç°¡åã«ã¡ã¢ã
ã¦ãã¼ãæ®´ãæ¸ããã¹ãã ãã©ã
ãªã¼ããã³ã°
- Perl ãããããCPAN ããããã
- Author ã®ãã£ã©ã¯ã¿ãå£éè¦ããã®ããã
- Author ã¸ã®æ§ãã¯ãããã°ã©ãã¨ãã¦ã®ã¢ããã¼ã·ã§ã³ã§ããããã
Perl ã®ç価㯠CPAN ï¼
ã£ã¦ããããã©ããããã¢ã¸ã¥ã¼ã«æ°ã§ã¯ãªããAutor ã¨ãã¦èãããã¨ã«æåã
Perl ã®ãã³ãã¥ããã£ãããããã£ã¦ããã®ã¯ããããã£ã人ã®ç¹ããã大ããããã¨ãããã¨ã§ããã
Live Coding
- Perlism ã£ã½ããã®ãä½ã£ã¦ã¿ãã
- CPAN ãã«æ´»ç¨ã§ãã°ããããããä½ããã
- ããã¥ã¡ã³ã㯠perldoc ã§ï¼
$ perldoc Module::Name $ perldoc -f function_name (âPerl ã®çµã¿è¾¼ã¿é¢æ°ã®ãã«ã)
-
- SYNOPSIS ãè¦ãã°ä½¿ãæ¹ã¯ä¸éãåãããï¼
ã·ããã¨ã§ã°ã£ãããããã¼ã
LL
Vim Plugin ã®ãã¯ãªã
JSON ã®ãã¯ãªã
- JSON 使ãã¨ãã«ã¯ã¨ã³ã³ã¼ãã»ãã³ã¼ãã«æ°ãã¤ãã¦ãï¼
å¤ããããè¨èã Perl èªã« decode
å¤ã®ã²ã¨ãåããè¨è㸠encode
Vim
- ã¢ã¼ãåæ¿ãããã®ã§å¤æ
- è¨å® & Plugin ã§ããããæ¡å¼µã§ããã®ã§ããã²è©¦ãã¦ã¿ã¦ãï¼
- Perl::Tidy (ã±ã¼ãããã§ã)
Emacs
- ã¢ã¼ãåæ¿ããªãå vim ããå¤æ ãããªã
- anything.el ã¨ããé©å½å (ã¤ã³ã¿ãã§ã¼ã¹) ã使ããã¨ã§ãããã¼ãªããã°ã©ãã³ã°ã
perlbrew
æ親ä¼
ç¥ããªã人ã ããã§ããï¼ï¼
ãæ¨æ¶ã§ããªãã£ãæ¹ããã¾ãããããããããªæ¹ã¨ã話ãããã¨ãã§ãã¾ããã
ãã£ã±å°ã輪ã«å
¥ãã¥ããé¨åããããã§ããããã(æ§æ ¼çãªæå³ã§)
ãªãã Perl ããªããªãªæ¹ã°ãããã¨ãæãã¾ããããã¡ã¤ã³ã¯ PHP ãªãã§ãããã¨ããæ¹ãå¤ããæ¬å½ã«ã«ã¸ã¥ã¢ã«ã«æ¥½ããã¾ããã
Web ã«ç®ããããã¡ã ããã©ããã£ã±ãç°¡åãªãã¼ã«ã¨ãã¦ã®éè¦ãé«ããã ãªãã
ã¨ãã話ããã¦ããä¸ã§ãå®æãã¾ããã
ãããã Perl ãè¦ãããï¼ã¨ããæ¹ã«ã¯ã¡ãã£ã¨æ·å±
ãé«ãã£ãã®ããããã¾ããããæ親ä¼ã§è¦ªãããªããã°ããã«è¦ãããããã§ããï¼ï¼
ãªããããããã人ã«æµã¾ããè¨èªã§ããã
bless { relationship => $humans }, 'Perl';
ãªæãï¼
ã¾ã¨ã
ãããããªã£ãããã¨ã¼ãã¨ããããæ¥ã人ãã¨è¨ããããããç¶ç¶çã«åå ãã¦ããããã§ãã
ãã¨ãhide-k ããã®ãã°ã骨ã®è¡æ¹ãã²ã£ããã¨å¿é
ã§ããã