ä¼æ¥ãã¾åã ãã£ã³ãã¼ã³è¨ºæ ã診æã¡ã¼ã«ã¼ããéãã¦ä¼æ¥æ§ã®ååã»ãã©ã³ããç¡æã§å®£ä¼ã§ãããã£ã³ãã¼ã³è¨ºæãã¯ããã¦ã¿ã¾ãããï¼
Re: Perlã¹ã¯ãªããã®ä¸è¡ç®ã«ã¯ä½ã¨æ¸ãã¹ããªã®ã ããCPANå½¢å¼ã§ã¹ã¯ãªãããé å¸ãããªããããã¯#!/usr/bin/perlãªãã#!perlã¨ããã¹ãã§ãenv(1)ã使ãã¹ãã§ã¯ãªãã¨æãã¾ãã CPANå½¢å¼ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ã¯ãã¤ã³ã¹ãã¼ã«ããã¹ã¯ãªããã®shebangè¡ãã¤ã³ã¹ãã¼ã«ç´åã«ä¿®æ£ããæ£ãããã¹ã«æ¸ãæãã¦ããã¾ãããã ãããã®ã«ã¼ãã³*1ã¯ãã¾ã®ã¨ããenv(1)ãèªèãã¦ããã¾ãããã¤ã¾ããenv(1)ã使ã£ãå ´åãã¤ã³ã¹ãã¼ã«ã«ä½¿ç¨ããperlã¨å®éã«å®è¡ãããperlãä¸è´ããã¨ã¯éãã¾ãããperlãä¸ã¤ããã¤ã³ã¹ãã¼ã«ãã¦ããªãã·ã¹ãã ãªããããã§ãåé¡ãªãåãã¾ãããããæè¿ã§ã¯ãã·ã¹ãã ã«ã¤ã³ã¹ãã¼ã«ãã¦ããperlã«ã¯è§¦ãããã¢ããªã±ã¼ã·ã§ã³ç¨ã®perlãå¥éperlbrewãªã©ã§ã¤ã³ã¹ãã¼ã«ãã¦ãã¡ãã使ãã¨ãããã¨ãããè¡ãã
å æ¥ã®è¨äºã ããè¦ãã¨ãPerlã使ã£ããã¨ç¡ã人ããããã°ä½ãã©ã便å©ãªã®ãè¯ãåãããªãã¨æãã®ã§ãããã§Path_Classã®è§£èª¬ã ã¾ãPath_Classã®å¤§ããªç¹å¾´ã¨ãã¦ãå¼æ°ã§ä¸ãããã¹ããå®éã«ãã¡ã¤ã«ã¨ãã¦åå¨ãã¦ãªãã¦ãè¯ãã¨ããã¨ããããããããã§ãããã <?php require_once 'Path/Class.class.php'; // åå¨ããªããã¹ãä¸ãã¦ãã¾ã£ããåé¡ãªãåã $dir = cdir('/foo/bar/baz'); // ä¸åæ»ã£ãã $dir->parent(); # /foo/bar // ä¸åé²ãã ã $dir->subdir('hoge'); # /foo/bar/baz/hoge // ãã£ã¬ã¯ããªçæãã¡ãã£ãã $dir->mkpath(); # /foo/bar/baz/ã¨ãããã£ã¬ã¯ããªãä½ãããã // ãã¡ã¤ã«ã®
ãï¼ãããPerlerãªãçãããåç¥ã®Path::Classã§ãããããã®PHPçã§ãã欲ããã£ãã®ã§ä½ãã¾ããã 以ä¸ä½¿ãæ¹ä¾ã <?php require_once 'Path/Class.class.php'; $dir = cdir(array('foo', 'bar')); # Path_Class_Dirãªãã¸ã§ã¯ã $file = cfile(array('bob','file.txt')); # Path_Class_Fileãªãã¸ã§ã¯ã print "dir: $dir\n"; # foo/bar print "dir: $file\n"; # bob/file.txt $subdir = $dir->subdir('baz'); # foo/bar/baz $parent = $subdir->parent(); # foo/bar $parent2 = $paren
http://www.scrapi.jp/ Firefoxã®æ©è½æ¡å¼µã使ã£ã¦twitter/2chãã¾ã¨ãã¦å ¬éãã¨ããå½¢ã§ä½ã£ã¦ã¿ã¾ãããå ·ä½çãªä½¿ãæ¹ã¯ http://www.scrapi.jp/intro ã§ã å ¬éãããé¨åã¯é²éª¨ã«tumblrã£ã½ãæãã«ãªã£ã¦ã¾ãã追ã tumblrã¿ããã«ããã¹ãã¨ãç»åã¨ããã¨ã³ããªã¼ã¨ãã¦è¿½å ã§ããããã«ãã¦ããããã§ãããã¨ååãrubyã®ã¢ã¸ã¥ã¼ã«åã¨ãã¶ã£ã¦ããã¨ãã話ã§ãããããã¡ã³ãããã¦ããªãã¿ãããªã®ã§å¤§ä¸å¤«ããªããããªããããªï¼ togetterã«ã¤ã㦠togetter使ãã«ãããã¨ããã®ãä½ãã«ããã£ãåæ©ã®ä¸ã¤ã«ããã®ã§ãããç¬ç«ããã¦ã¼ã¶ã®ãµã¤ããä½ããããã¨ã§ã¡ãã£ã¨éã£ãæãã«ãªã£ã¦ãã¾ã£ãããããã¾ãããtwitterã¦ã¼ã¶ã«ã¯togetterã®ããã«å ¨ä½ã«åãè¾¼ã¾ããã»ããæ°è»½ã«ã§ãã¦ãã£ããããããããªãããª
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}