ä»åã®ä¸æã·ã§ã«ã¹ã¯ãªããã¯ãOSã¤ã³ã¹ãã¼ã«ç´å¾ã®ãµã¼ãã¼ã«å¯¾ãããµã¼ãã¼ã®æ§æ管çã¨CMSï¼ã³ã³ãã³ã管çã·ã¹ãã ï¼ã®ãMovable Typeãã®ã»ããã¢ããã¨èµ·åããªã¼ãã¡ã¼ã·ã§ã³åãããã®ã§ãããµã¼ãã¼ã¯ååã¨åæ§ãCentOS 6.6ãminimalã§ã¤ã³ã¹ãã¼ã«ãããã®ã¨ãã¾ããCMSã¯èµ·åãããã¨ãWebãã©ã¦ã¶ã§ç¢ºèªã§ãã¦æ¥½ããã®ã§ãçããããã²ãã£ã¬ã³ã¸ãã¦ã¿ã¦ãã ããã ãªããä»åã®ä¸æã·ã§ã«ã¹ã¯ãªãããå®è¡ããå¦çã¯æ¬¡ã®ã¨ããã§ãã OSã¤ã³ã¹ãã¼ã«ç´å¾ã®å種è¨å® ããã¥ã¡ã³ãã«ã¼ãä½æã¨Movable Typeãã¦ã³ãã¼ã MySQLã¤ã³ã¹ãã¼ã«ã¨DBä½æ perlã¢ã¸ã¥ã¼ã«ã¨nginxã¤ã³ã¹ãã¼ã« perl-fastcgi initã¹ã¯ãªããä½æ ãã¼ã¢ã³ã®èªåèµ·åè¨å®ãããã±ã¼ã¸ã®ã¢ãããã¼ããåèµ·å ã©ã®ãããªãµã¼ãã¼ãæ§ç¯ããã ã¾ããWebãµã¼ãã¼ã¨ãã¦
Plaggerãã¤ã³ã¹ãã¼ã«ãã¾ãã(2014å¹´ç) ç°å¢ã¯ãWindows8 + Vagrantã«ç«ã¦ãCentOS 6.4ã§ãã RSSãåå¾ãã¦ãcsvã«ããã¨ããã¾ã§ããã¾ãã åèURL Windows8ã«Vagrantãã¤ã³ã¹ãã¼ã«ãã¦CentOSãå ¥ãã http://d.hatena.ne.jp/fitflavor/20131020/1382250424 CentOS6.3ã«perlbrew,Perl 5.16, cpanmãä¸æ°ã«ã¤ã³ã¹ãã¼ã«ããæ¹æ³ http://dqn.sakusakutto.jp/2012/08/centos63_perlbrew_perl_cpanm.html yumã©ã¤ãã©ãªãã¤ã³ã¹ãã¼ã« # yum -y install openssl-devel expat-devel db4-devel libxml2-devel perl gcc mak
Password confirmation Required Password does not match. OK
open(my $handle, ">" , "testperl.txt") or die; print $handle "zzzzz"; 解説 ã¾ããå¤é¨ãã¡ã¤ã«ã«èªã¿æ¸ããããå ´åãçµã¿è¾¼ã¿é¢æ°ã® opené¢æ° ã§ç®çã®ãã¡ã¤ã«ãéãã¾ãã ãã¡ã¤ã«ã¯ãopen ãããã¨ã§ãèªã¿åºãã»æ¸ãè¾¼ã¿ã»è¿½å ãå¯è½ã«ãªãã¾ãã open(æ) or dieã¯ãPerlã®æ £ç¨å¥ã§ãéãããæ»ã¬ããç¨åº¦ã®æå³ã«èªãã¾ãã ã¢ã¼ã opené¢æ°ã®ç¬¬2å¼æ°ã¯ã¢ã¼ãã§ãã < èªåºãã¢ã¼ã > æ¸è¾¼ã¿ã¢ã¼ã >> 追å æ¸è¾¼ã¿ã¢ã¼ã ã®ï¼ã¤ãããã¾ãã 2å¼æ°å¼åºã ä¸ã®ã³ã¼ãã§ã¯opené¢æ°ã3ã¤ã®å¼æ°ã§æ¸ãã¾ããããä¸è¨ã®ããã«2åã®å¼æ°ã§ãæ¸ãã¾ãã open($handle, "> testperl.txt" ); ã¨ãã²ã¨ã¤ã®äºéå¼ç¨ç¬¦ã®ä¸ã«ã¹ãã¼ã¹ã§åºåã£ã¦æ¸ãã¦ãæ§ãã¾ããã ã¯ãã¼ãº ope
ãã¤ãã¯WordPressãEC-CUBEãªã©ãPHPã®ã¢ããªã±ã¼ã·ã§ã³ãåãããã¨ãå¤ãã®ã§ãããMovable Typeãã¤ã³ã¹ãã¼ã«ããæ©ä¼ããããnginxã§perl/CGIãåããè¨å®ã追å ãã¾ãããç°å¢ã¯ CentOS 6.4 x86_64ãnginxã¯nginxãªãã¸ããªãã yum ã§ã¤ã³ã¹ãã¼ã«ãã nginx-1.4.1-1.el6.ngx.x86_64 ã§ããåèã«ãããµã¤ãã¯ãã¡ãã«ãªãã¾ãã ã¾ã㯠yum ã§Â perl-CGI ã¨Â perl-FCGI ãã¤ã³ã¹ãã¼ã«ãã¾ããåè ã¯baseã¾ãã¯updateãªãã¸ããªã«ãããå¾è ã¯epelãªãã¸ããªã«ããã¾ãã [ (ã£Â´âï½)ã£ï¼ åã®ä¼ ~]$ sudo yum install perl-CGI [ (ã£Â´âï½)ã£ï¼ åã®ä¼ ~]$ sudo yum --enablerepo=epel install perl-F
Carton - Perl module dependency manager (aka Bundler for Perl) Carton - Perl module ä¾åããã¼ã¸ã£ã¼(aka Perlç¨ Bundler) æ¦è¦Â¶ # On your development environment > cat cpanfile requires 'Plack', '0.9980'; requires 'Starman', '0.2000'; > carton install > git add cpanfile cpanfile.snapshot > git commit -m "add Plack and Starman" # Other developer's machine, or on a deployment box > carton install > carton exec
ï¼1ï¼ã¯ãã¡ããï¼â 2ï¼ã¯ãã¡ãããã Carton Cartonãcpanmã¨åæ§ã«ãå®®å·é彦ãããä¸å¿ã«éçºãã¦ãããã¼ã«ã§ããCartonãã©ããªãã¼ã«ãã«ã¤ãã¦ã¯ãPODã«ãºããªãªä¸æãããã®ã§å¼ç¨ãã¾ãã carton is a command line tool to track the Perl module dependencies for your Perl application. ãCartonã¨ã¯ãã¢ããªã±ã¼ã·ã§ã³ã«ãããPerlã¢ã¸ã¥ã¼ã«ã®ä¾åé¢ä¿ã管çããã³ãã³ãã©ã¤ã³ãã¼ã«ãã¨ããããã§ãã ã¾ããPODã®NAMEã»ã¯ã·ã§ã³ã«ã¯æ¬¡ã®è¨è¿°ãããã¾ãã Carton - Perl module dependency manager (aka Bundler for Perl) Rubyã§ã馴æã¿ã®Bundlerã¨ããåèªãåºã¦ãã¾ãããRubyã使ã人ã«ã¯ãã¡ãã®
Perl ⺠Mojolicious Perlã®ä»£è¡¨çãã¬ã¼ã ã¯ã¼ã¯Mojoliciousã使ã£ãWebéçºã®å ¥éã§ãã use Mojolicious::Lite; get '/' => {text => 'Hello World!'}; app->start; Windowsã§ãLinuxã§ãã©ããªç°å¢ã§ãåãã¾ããããCGIã§å«ãªæãããããªã¼ãããæã£ã¦ããæ¹ãä»ãªããMojoliciousããããã¾ãã 1. Mojoliciousã®ç¹å¾´ ãMojoliciousã£ã¦å°ããªWebãµã¤ããããããä½ããªãã®ããªããããªçåãããã¨æãã¾ããå®éã¯ãMojoliciousã¯ãå°ããªWebãµã¤ãããåãã¦ãã©ãã©ãæé·ããã¦ãããã¨ãã§ãã¾ãã Mojolicious㯠Webãµã¤ããç°¡åã«ãã°ããä½æã§ãã Webãµã¤ãä½æã«å¿ è¦ãªæ©è½ã®ä¸å¼ãæä¾ å¤§è¦æ¨¡ãªWebã¢ããªã±ã¼ã·ã§ã³éçº
2014å¹´03æ29æ¥00:00 ã«ãã´ãªTipsLightweight Languages Unicode - perl+javascript - ã«ããã°ã©ã ã§ãã使ãããè±èªã®è¨å·ã®èªã¿æ¹ã調ã¹ããã ããã°ã©ãã®ããã® æåã³ã¼ãæè¡å ¥é ç¢éåä» ããã°ã©ãã¼ãããã®ãããã°ã©ã ã«åºæ¥ããã¨ãèªãããã¹ãããã ææ¦è æ±ãï¼ãè±èªãè±èªã§ãªãã¦èªããç¥ã£ã¦ãï¼ by @masuidrive å¢äº éä¸éâCodeIQ ããã°ã©ã ã§ãã使ãããè±èªã®è¨å·ã®èªã¿æ¹ç¥ã£ã¦ãã¾ããï¼ ã¨ããããã§ãªãããªãããã¦ã dankogai/js-charnames 使ãæ¹ git cloneãã¦makeãã¦ãã ããã charnames.jsã¨ãããã¡ã¤ã«ãåºæ¥ãã®ã§ããã¨ã¯ãããªæãã§ä½¿ã£ã¦ä¸ããã Charnames['']=''; Unicode 6.1çã«ãã¨ããã®ãçæããæã«ä½¿ã£ã
Perl 㨠AWK ã¨ã®æ¯è¼ Perl ã«æ¯ã¹ã¦ãAWK ã§ã§ãããã¨ã¯ãããã»ã©ãã¼ãã¯ããã¾ããã å¤æ° Perl ã§ã¯å¤æ°ã®é ã«ã¯å¿ ã $ ãã¤ãã¾ãããAWK ã§ã¯ãä½ãã¤ãã¾ããã ããã¯ã Perl ããã°ã©ãã AWK ãæ¸ãæã«ããã¯ã¾ãç½ ã§ãã AWK ã§ã¯ã $ ã¯ãæ¬ã表ãã¾ãã é å Perl ã«ã¯ãæ®éã®é åã¨é£æ³é åãããã¾ããã AWK ã«ã¯ãé£æ³é åããããã¾ããã AWK ã§ã¯ããæ¬ããé åã®å½¹ç®ãããããããã®ããç¥ãã¾ããã å ¥å AWK ã§ã¯ãå ¥åã¯äºç´å¤æ° RS ã®ç¤ºãæåã«ãã£ã¦åºåããã¾ãã Perl ã§ã¯ãããã¨åãåãããããã®ã¯ã $/ ã§ãã ãããã¯ãæ¢å®ã§ã¯æ¹è¡ã§ãã ããããAWK ã§ã¯ãå ¥åè¡ã« RS ã¯å«ã¾ããªãã®ã«å¯¾ãã Perl ã§ã¯ãå ¥åè¡ã«ã¯ $/ ãå«ã¾ãã¾ãã ãããé¤ãããã«ã¯ãchop ã使ãã¾ã (Perl
spring-mt: ããã¸ã§ã¯ãã§ææ°ã®å®å®çã®nginxã¨redisã使ãããã£ãã®ã§rpmãä½ã£ã¦ã¿ã¾ããã ä»åä½ã£ãrpmã¯githubã«å ¬éãã¦ãã¾ãã 10xlab / rpmsæºåä½æ¥ã¯å ¨ã¦rootã¦ã¼ã¶ã¼ã§è¡ãã¾ããã ä»åfedora16 x86_64ç¨ã®rpmãä½ã£ã¦ã¾ãã 1 rpmã®ä½æã«ã¯rpmbuildã使ãã®ã§rpmbuildãã¤ã³ã¹ãã¼ã« # yum install rpm-build nginxã®rpmä½æ1 åæºå # mkdir src # cd src/ # mkdir nginx # cd nginx/ 2 src.rpmã®åå¾ã¨å±é ä»åã¯ãIndex of /Linux/fedora/epel/6/SRPMSããsrc.rpmãè½ã¨ãã¦ä½¿ãã¾ããã â ãã¦ã³ãã¼ã # wget http://ftp.riken.jp/Linux/fedor
Perlãå§ãã¦2ã¶æ*1ãããç«ã¡ããã§ããèªã¿ã«ãããèªããªãã¨ã¯èãã¦ããPerlã§ãããããªããã¼ãªäºããããã¨æããªããã°ãã¨ããããåãã³ã¼ããæ¸ããããã«ã¯ãªãã¾ããããã ããã¾ã ã«ç¥ããªãç¹æ®å¤æ°ãæ¼ç®åãåºã¦ãã¾ããæ¯å調ã¹ããã³ã«ãããããã®æå³ãä¸è¨ã§æ¸ãããã¼ãã·ã¼ãã¿ãããªã®ã欲ãããªãã¾ããè¦å½ãããªãã£ããã©ãä½ãã®ã大å¤ãªã®ã§ãããã¤ãã®ãªã½ã¼ã¹ãåããã¦æ¢ããã¨ã§ä»£ç¨ãããã¨ã«ãã¾ããã ãªã½ã¼ã¹ ã¨ããããè¦ããã¨ã®ãªãè¨å·ãç¾ãããããã®ã©ããã§å¤§ä½è¦ã¤ããããããªãããªã¨æãã¾ãã perlvar - Perl ã§å®ç¾©æ¸ã¿ã®å¤æ° - perldoc.jp ã¨ããããperldoc.jpã®Perl ã§å®ç¾©æ¸ã¿ã®å¤æ°ããã¼ãã·ã¼ãç¡ãã£ã¦æ¸ãããã©ãå²ã¨è¼ã£ã¦ã¾ãããã æ¼ç®åã¯è¼ã£ã¦ãªãã®ã¨ããã¼ãã·ã¼ãã¨å¼ã¶ã«ã¯ã¾ã¨ã¾ãããªãæ¸ãæ¹ã§ããä¾ãã°$_ãã¾
JavaScriptçãæ¸ãã¦ã¿ãã®ã§èª¿åã«ä¹ã£ã¦Perlçãæ¸ãã¦ã¿ã¾ãã 4æããPerlå§ãã人ããããããããªãã§ããã(ããã¤ã) JavaScriptç http://d.hatena.ne.jp/koba04/20130311/1362931533 åãã¦ã®Perl 第6ç èªåãèªãã ã®ã¯ç¬¬5çã§ãã®æç¹ã§ã5.10ã«å¯¾å¿ãã¦ãããgiven-whenãã¹ãã¼ãããããªã©ã«ã¤ãã¦ããã£ããè¼ã£ã¦ããã®ã§ããããã®ç¬¬6çã§ã¯ããã«5.14ã«å¯¾å¿ãã¦ãã¦ãã¢ãã³ãªæ¸ãæ¹ã«ãªã£ã¦ãããPath::Classãªã©æ°ããã¢ã¸ã¥ã¼ã«ãä»é²ã¨ãã¦Unicodeå ¥éããã£ããã¨ãå¤ããæããªãå 容ã«ãªã£ã¦ãã¦ãã®ç¹ãç´ æ´ããããªã¨æãã¾ãã ãã®å¤æ°ãé¢æ°ãæ£è¦è¡¨ç¾ãæååæä½ããã¡ã¤ã«æä½ãªã©ããã·ã°ãã«ã®å¦çã便å©ãªã¢ã¸ã¥ã¼ã«ã®ç´¹ä»ã¾ã§Perlã®åºæ¬çãªé¨åããã£ããã¨ç´¹ä»ããã¦ãã¦ã
Tokuhiro Matsuno Audrey Tang Breno G. de Oliveira Debabrata Deka Fuji Goro Fuji, Goro Graham Ollis HIROSE Masaaki Jari Salmela Jiro Nishiguchi Kazuho Oku Keiji, Yoshimi Masahiro Nagano Neil Bowers Shohei YOSHIDA Shoichi Kaji Toshio Ito Yasuhiro Matsumoto bayashi ikasam_a itchyny kimoto ktat lestrrat s-aska tarao xaicron NAME Furl - Lightning-fast URL fetcher SYNOPSIS use Furl; my $furl = Furl->new
translated by Kato Atsusi Perlã¯åçãªãåçåä»ãã®ãé«ç´ãªãã¹ã¯ãªãã(ã¤ã³ã¿ã¼ããªã¿ã§è§£éããã)è¨èªã§ãPHPãPythonã¨ã¨ãã«ããæ¯è¼ããã¾ããPerlã®ã·ã³ã¿ãã¯ã¹ã¯ãæã®shellã¹ã¯ãªãããã¼ã«ããå¤ãã®é¨åãåãã¦ãããããã«ããæ··ä¹±ãããã·ã³ãã«ã使ãéãã¦ãããã¨ã§æåã§ãããããã®å¤§å¤æ°ãGoogleã§æ¤ç´¢ãããã¨ã¯ä¸å¯è½ã§ããPerlã®shellã¹ã¯ãªããããåãç¶ãã éºç£ã¯ãglueã³ã¼ã(ä»ã®ã¹ã¯ãªãããããã°ã©ã ã¨ä¸ç·ã«ãªã³ã¯ããã¦ããã¹ã¯ãªãã)ãæ¸ãã®ã«ã大å¤å½¹ã«ç«ã¡ã¾ããPerlã¯ãçæ³çã«ããã¹ããã¼ã¿ãå¦çãããã¨ããããã¹ããã¼ã¿ãçæããã®ã«é©ãã¦ãã¾ããPerlã¯åºãè¡ã渡ããæåã§ããã極ãã¦ãã¼ã¿ãã«ã§ãååã«ãµãã¼ãããã¦ãã¾ããPerlã¯"There's More Than One Way To Do
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}