ãã®è¨äºã¯ abicky.net ã® åã㦠Perl ã§ã³ã¼ããæ¸ãæã«ç¥ã£ã¦ããããã£ãã㨠ã«ç§»è¡ãã¾ãã
cpanminusã¯CPAN::shellã«å¤ããPerlã®ã©ã¤ãã©ãªç®¡çã·ã¹ãã ã cpanminusã¯Perl製ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãMOONGIFTã§ã¯ã¹ã¯ãªããè¨èªã®ä¸ã§ã¯å§åçã«Perl製ã®ã½ããã¦ã§ã¢ãç´¹ä»ãããã¨ãå°ãªãã£ããè¦å ã®ä¸ã¤ã«ã¨ã«ããCPANã使ã£ãã¤ã³ã¹ãã¼ã«ãé¢åãããã¨ããã®ããã£ãã ã©ãã©ãã¤ã³ã¹ãã¼ã«ããã¦ãã èµ·åãããã¨ãã¦ã¨ã©ã¼ãCPANã§ã¤ã³ã¹ãã¼ã«ãã¦åå®è¡ãã¾ãã¨ã©ã¼â¦ããã¦æå¾ã®æå¾ã§CPANã¢ã¸ã¥ã¼ã«ãä¾åã§ããªãããããªãã¨ãç¹°ãè¿ãã¦ããã¨ã¹ãã¬ã¹ã§èªç¶ã¨é¿ãã¦ãã¾ãã¨ãããã®ã ãã ãä»å¾ã¯éããcpanminusã使ãã°è¯ãã®ã ã cpanminusã¯CPAN::shellã«å¤ããCPANã©ã¤ãã©ãªç®¡çã·ã¹ãã ã ãCPAN::shellã®æ¬ ç¹ã¨ãã¦ãä¾åããã¢ã¸ã¥ã¼ã«ãããæã«é½åº¦yï¼ã¨ã¯éããªããï¼ã§çããªãã¨ãããªã
Ubuntu ã«ã¯ NotifyOSD ã¨ãããããã¢ããã¡ãã»ã¼ã¸ãããã¾ãã ãªããLANã±ã¼ãã«æãããåºãããã¨ããè²ã ãªæã«å³ä¸ã®æ¹ã«ãã³ãã³ã§ã¦ããã¢ã¬ã§ãã ãªããã«ä½¿ããªãããªãã¨æã Twitter ã®ã¿ã¤ã ã©ã¤ã³ã表示ãããã¼ã¢ã³ã perl ã§ä½ã£ã¦è¦ã¾ããã ãæºåç·¨ã ã¾ãã¯ãå¿ è¦ãªã©ã¤ãã©ãªã®ã¤ã³ã¹ãã¼ã«ããã Synaptic ã§ãä¸è¨ã®ãã®ãã¤ã³ã¹ãã¼ã«ã libproc-daemon-perl libnet-twitter-perl libdate-manip-perl libnotify-bin ã³ãã³ãã©ã¤ã³ããã¤ã³ã¹ãã¼ã«ããå ´åã¯ãä¸è¨ã®ããã«å ¥åã $ sudo apt-get install libproc-daemon-perl libnet-twitter-perl libdate-manip-perl libnotify-bin (
æè¿ä¼ç¤¾ã§apacheã®ã¢ã¯ã»ã¹ãã°è§£æã¨ããã®ãperlã使ã£ã¦è¡ã£ã¦ãã¾ããä¾ãã°ãããªæãã®ãã°ãããã¹ããã¡ã¤ã«ã«ä¿åããã¦ãã¾ãã ... 2010-09-20 21:30:12 A.B.C.D http://example.com/hoge.html ... 2010-09-20 21:30:13 W.X.Y.Z http://example.com/foo/bar.html ... ...ãã®ãã°ãã¡ã¤ã«ã®ãµã¤ãºãã ããã1GBãããããã¾ããã¬ã³ã¼ãæ°ã¯500ä¸è¡ãããã ã£ãããªï¼ã¡ãã£ã¨ããã¾ãï¼ããã®ãã°å ¨é¨ã解æããã¨æéããããããå¿ è¦ãªé¨åãè¦ã¥ãããªãã¾ãããªã®ã§ãç¹å®ã®æé帯ã ãã解æããããã«ãã¦ãã¾ãã åã¯æé帯ãå¤å®ããã®ã«ããã°ããåãåºããæéãæååã®ã¾ã¾æ¯è¼ããã¨ããå®è£ ããã¦ãã¾ããã æååã®ã¾ã¾æéãæ¯è¼(PHPã®ä¾) <?php #解æ
MSVCãMinGW32ãCygwinãBorlandC++ãªã©Windowsã®Cã³ã³ãã¤ã©ã«ã¤ãã¦ä¸è¬çã«åãç¨åº¦ã®ç¥èã¯æã£ã¦ãã¦ãUNIXãããç¨åº¦ãããã¦ãPerlãå°ã触ããããªãã¨ãã(æãªããæµ ã¯ããª)ãã¤ãããã§ããã®ã§ããCPANã¢ã¸ã¥ã¼ã«Devel::CheckLibã®ã¡ã³ããã³ã¹ã誰ãå¼ãåãã¦æ¬²ãããã¨ä»°ãDavid Cantrellããã®ææãåããDevel::CheckLibã®ã³ã¡ã³ãããå¼ãåãã¾ããã è³ããªããã¨æãã¾ãããã©ããããããã
Perl5 ã§ã¯ãE-mail ã®éä¿¡ãããããã®ã¢ã¸ã¥ã¼ã«ãå¤æ° CPAN ã«ã¢ãããã¼ãããã¦ããããç¾å¨ãã£ã¨ãã¾ããã«ã¡ã³ãããã¦ãã¦è³ªãããã®ã¯ Email::Sender ãããã Email::Sender ã¯ç»å ´å½åã¯ããã¥ã¡ã³ãããªãããããã¤ãããã®ã«ãªããªãã£ãããç¾å¨ã§ã¯ã ãã¶ãã·ã«ãªã£ã¦ãããMoose ä¾åãæ°ã«ãªããªãã±ã¼ã¹ã§ã¯ãå®ç¨ã¨ãã¦ã¤ãã£ã¦ãåé¡ãªãã¨ãããã iso-2022-jp ã®æ¥æ¬èªã®ã¡ã¼ã«ãéãã«ã¯ã以ä¸ã®ããã«ããã°ããã use 5.12.1; use utf8; use Email::Sender::Simple qw(sendmail); use Email::Simple; use Email::Simple::Creator; use Data::Recursive::Encode; use Encode; # e-mail o
æ£è¦è¡¨ç¾ã¨ã¯ãããç¹å®ã®æååã§ã¯ãªããæååã®ä¸é¨ããã¿ã¼ã³åãã¦è¡¨ç¾ããææ³ãããã¾ãã è¤æ°è¡ããæç« ã®ä¸ããæååãæ¤ç´¢ããæã«ãæ¤ç´¢ãããæååãã¹ã¦ãæå®ããã®ã§ã¯ãªããæååã®ä»»æã®ä¸é¨ãç½®ãæãå¯è½ãªç¶æ ã«ãã¦æ¤ç´¢ãããå ´åã«æ£è¦è¡¨ç¾ãç¨ãã¾ãã ãã¨ãã°ãUNIXãWindowsã§ã¯ãæååãæ¤ç´¢ããã¨ãã«ä½¿ç¨ãããæ£è¦è¡¨ç¾ã¨ãã¦ãã*ããä»»æã®æååï¼ç©ºãæåãå«ãï¼ã«ãã?ããä»»æã®1æåã¨ãã¦ä½¿ç¨ãããã¨ãã§ãã¾ãããã¿ã¼ã³ããapp* ã¨è¡¨ç¾ããã¨ã apple application appeal ãªã©ã®æååãããããããã¨ã«ãªãã¾ãã ãã®æ£è¦è¡¨ç¾ã®æ¹æ³ã¯ãå½ç¶ãªããããã°ã©ã è¨èªãã¨ã«ç°ãªãã¾ãããPerlã®å ´åã¯ä»ã®è¨èªã«æ¯ã¹ã¦é常ã«å¼·åãªæ£è¦è¡¨ç¾ã«ãããã¿ã¼ã³ãããæ©è½ãåãã¦ããããã詳細ã«ãã¤å®¹æã«ãã¿ã¼ã³ããããè¡ããã¨ãã§ããã¨ããã¦ãã¾ãã
Mixiã«ç°¡åã«ã¢ã¯ã»ã¹ããããã®LWP::UserAgentã©ã¤ã¯ãªã¢ã¸ã¥ã¼ã«ã æ´æ°æ å ±ãä¸å ·åæ å ±ãªã©ã¯mixiã®WWW::Mixiã³ãã¥ããã£ã«ãæãã¦ããã¾ãã WWW::Mixiã³ãã¥ãã㣠WWW::Mixiã¢ã¸ã¥ã¼ã«ã¯CPANã«ãç»é²æ¸ã¿ã§ãã Mixiã«ç¹åããLWP::RobotUAã¢ã¸ã¥ã¼ã«ã®ãµãã¯ã©ã¹ã§ãã WWW::Mixiã¯ãµã¤ãã®LWP::UserAgentã®ããã«ä½¿ããã¨ãã§ãã¾ãã ä¾ãã°ã次ã®ãããªæé ã§Cookieãæå¹ã«ãããã°ã¤ã³ããããããã¼ã¸ï¼home.plï¼ãåå¾ãããã¨ãã§ãã¾ãã ãã®æ¸ãæ¹ã§ããã°ãuse WWW::Mixiã®ä»£ããã«use LWP::UserAgentã¨ãuse LWP::RobotUAã¨ãã¦ãWWW::Mixi->newã®è¡ãé©å½ã«æ¸ãæãã¦ããã¨ãããã§ãããããã¼ã¸ã®åå¾ãã§ãã¾ãã use WWW::Mixi;
Perl 㧠CGI ãéçºããããã§å½¹ã«ç«ã¤ Perl ã¢ã¸ã¥ã¼ã«ã¯ããã¤ãããã¾ããã ãã®ä¸ã§ãæåãªã¢ã¸ã¥ã¼ã«ã¨è¨ãã° CGI.pm ã§ãããã ãã¤ã¦ã¯ Perl5 ã«æ¨æºã¢ã¸ã¥ã¼ã«ã¨ãã¦çµã¿è¾¼ã¾ãã¦ããå®çªã¢ã¸ã¥ã¼ã«ã§ãã ããããPerl ã«ãã CGI éçºãå°ãªããªã£ã¦ããã¨ããååãå½±é¿ãããããã ææ°ã® Perl5 ã§ã¯æ¨æºã¢ã¸ã¥ã¼ã«ããå¤ããã¦ãã¾ãã¾ããã ãããããã¾ãªããå¤ãã®ã¬ã³ã¿ã«ãµã¼ãã¼ã§å©ç¨ãããã¨ãã§ãã¾ãã æ¬è¨äºã§ã¯ãCGI.pm ã®åºæ¬çãªä½¿ãæ¹ã解説ãã¾ãã ã¾ããããææ°ã® Perl5 ã®ç°å¢ã§ CGI.pm ãã¤ã³ã¹ãã¼ã«ããã¦ããªãã¬ã³ã¿ã«ãµã¼ãã¼ã§ãã CGI.pm ãçµã¿è¾¼ãæ¹æ³ã«ã¤ãã¦ã解説ãã¾ãã ç®æ¬¡ CGI.pm ã®ãã¼ã¸ã§ã³ã¢ããã«ä¼´ãå¤å åè¿°ã®éãããã¤ã¦ CGI.pm 㯠Perl5 ã®æ¨æºã¢ã¸ã¥ã¼ã«ã§ããã ãã®
èªåç¨ã¡ã¢ã§ãã ãããããªãµã¤ããåèã«ãã¾ããããå®å ¨ãªã³ã¼ããè¦ã¤ãããªãã£ãã®ã§ã¨ãããããªã³ã¯ã¯çç¥ãã¾ãã Twitterã®OAuthClientãä¸è¨URLããè¨å® http://twitter.com/oauth_clients consumer_keyã¨consumer_secretãåå¾ããã ããã¾ããªæµã index.html ãããªã³ã¯ã§ sample.pl ã«ã¢ã¯ã»ã¹ããTwitterã®OAuth許å¯ç¨ã®ãã¼ã¸ã¸ãªãã¤ã¬ã¯ãã OAuth許å¯ç¨ã®ãã¼ã¸ã§è¨±å¦ãè¨å®å¾ãsample.pl ã§è¨å®ãã callback_url (ããéè¦)ã¸ãªãã¤ã¬ã¯ãããã(ãã®å ´åã¯callback.pl)ã callback.pl 㧠oauth_token 㨠oauth_verifier ãåå¾ããupdateã試ã¿ãã æåã§ããã°ããã¤ã¼ãå ã¸ã失æã§ããã°Twitt
Japanese Plagger: the UNIX pipe programming for Web 2.0 Plagger is a pluggable RSS/Atom feed aggregator written in Perl. Everything is implemented as a small plugin and you can mash them up together to build a new application to handle RSS/Atom feeds. Ray Ozzie said RSS can be Unix Pipe of the Internet and that way Plagger is an Unix shell for Web 2.0! If you're familiar to Perl, Plagger is like a
Xslateã5.8.1ã§ãåãããã«ãªãã¾ããã ã¾ããmakamakaããã®åªåã«ãããpure Perlçãé«éã«ãªãã¾ãããText::MicorTemplateãå°ãä¸åãã¹ã³ã¢ãåºãã¦ãã¾ã*1ã benchmark/others.pl $ XSLATE=pp perl -Mblib benchmark/others.pl Perl/5.10.1 i686-linux Text::Xslate/0.1025 Text::MicroTemplate/0.11 Text::ClearSilver/0.10.5.4 Template/2.22 Rate tt mt xslate cs tt 325/s -- -63% -67% -86% mt 881/s 171% -- -10% -63% xslate 975/s 200% 11% -- -59% cs 2349/s 622% 16
æ¥ã®ä¼äºå½æ¼«éè¨ãæ¾å±±ã»ä»æ²»ã¨æåªã®é åãæºå«ãã¦ãã¾ããã æ³äºãå ¼ãã¦æåªè¦³å 㸠2024å¹´ã®GWã¯ãæ¯å¹´æä¾ã®åå¤å±å¸°çã§ã¯ãªãèªå® ã§ãã£ããéããã¦ããã¾ãããã¨ããã®ãã4æã«æ³äºã®ããæåªã»æ¾å±±ã«è¦ªæ大éåã¨ããã¤ãã³ããããã¾ãã¦ããã¡ããGWã®æ è¡ä»£ããã«ããã¨ããçç±ã§ããæ³äºã¯æ¥ææ¥ã®äºå®ã¨ãããã¨â¦
ãYouTube.comãããPythonã¯éããã¨ãããããã ããã¤ãã¬ãã¨ãªã£ã¦ãããããªè¨èªã§ãã£ããããè¨ç®ãããã¦æéãè¨ã£ã¦ã¿ãã Intel Core2 6600 @ 2.40GHz, 2.00 GB RAM, Windows, Cygwin Python def fib(n): if n < 2: return n else: return fib(n-1) + fib(n-2) print fib(30) $ time python fib.py 832040 real 0m0.801s user 0m0.811s sys 0m0.015s $ python --version Python 2.5.1 Ruby def fib(n) if n < 2 n else fib(n-1) + fib(n-2) end end print fib(30) $ time ruby
å¿ è¦ãªãã® lighttpd + fcgi + libpcre å ¨ã¦rootã«ã¦ä½æ¥ã fcgi http://www.fastcgi.com/dist/ããåå¾ãã¦ã¤ã³ã¹ãã¼ã« wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz tar zxvf fcgi-2.4.0.tar.gz cd fcgi-2.4.0 ./configure make make install libpcre ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ããåå¾ãã¦ã¤ã³ã¹ãã¼ã« wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.6.tar.gz tar zxvf pcre-7.6.tar.gz cd pcre-7.6 .
ã¨ããæãã«ãªãã¾ããã ãã£ã±ããããã»ã¹ã常é§ãããæ¹ã大åæ©ãããã§ãã CGIã§ã®Cã¨Perlã®å®è¡é度差ã«æ¯ã¹ãPerlã®FastCGIãCã®FastCGIã¨æ¯ã¹ã¦éè²ãªãã®ã¯ãPerlã¯ããã»ã¹èµ·åæã«ä¸éã³ã¼ãã«ã³ã³ãã¤ã«ããããããã®ã§ãããFastCGIã ã¨ãã®ä¸éã³ã¼ããããã»ã¹ãè½ã¡ãªãããä¿æãããã®ã§ããªã¯ã¨ã¹ãæ¯ã®ã³ã³ãã¤ã«æéãä¸è¦ã«ãªããããããã§ãã FastCGIè·äººããã®èããããã§ãã...ã C-CGIã¨Perl-FastCGIã®éã®æ¯è¼ã¯ãæè©®ç°å¢å¤æ°è¡¨ç¤ºã ãã®ããã°ã©ã ã§ãã®ã§ãè¤éãªããã°ã©ã ã«ãªãã¨å®ãã¸ãã¯é¨åã®Cã¨Perlã®å®è¡é度差ã§ã©ããªããã¯å¤ãã¾ããããä»åã¯ç°å¢å¤æ°è¡¨ç¤ºã ãã®ããã°ã©ã ã§ã®çµæãªã®ã§ãããã»ã¹ã¯å°ããããããªããã¨æãã¾ãã ãªã®ã§ãããã»ã¹ãå°ãããã°CGIã§ã...ã¨ããã®ã¯ãï¼ãã¤ãã¾ããã ï¼ã¨
ãµãã¨ã¯å½¼å¥³ã®èªå® è¿ããæ¹åå°é§ åã®ã¹ã¼ãã¼ãã¼ã±ããã§å¾ ã¡åãããããã彼女ã¯èªè»¢è»ã§å¾ãã追ãã¤ãã¨è¨ããåã¯å¤§ããªã³ã¤ã³ãã¼ãã³ã°ã¸è»ãåãããç èãä¸æ¬å¸ã£ã¦ããã¹ã¼ãã¼ãã¼ã±ããã¸åããã¨ãã²ã£ãããªãã«ä¸»å©¦çãªå¥³æ§ããã°ãã¡ãããå ¥ãå£ãåºããå ¥ã£ãããã¦ãããæå»ã¯åå¾5æã«ãªããæè¨ããç®ãä¸ããã¨ãå¾ ããã¡ãã£ãããã¨å¤§ãã¦æªã³ãã¦ãªãæ§åã§ãµããæã¶ãã§ãã£ã¦ããã ã礼ã«æçãä½ãã¨ã¯ããããµãã®å®¶ã«ã¯é£æãåå足ãã¦ããªããããããããã¦ã¹ã¼ãã¼ãã¼ã±ããã«å¯ããã¨ã«ãªã£ãããµãã¯éèã³ã¼ãã¼ããç²¾èã³ã¼ãã¼ã¾ã§ãã¾ãã§åªç§ãªã«ã¼ããã«å°ãããããã«ç¡é§ãªãç¹æ¤ãã¦ãã£ãã欲ããé£æãããã¨ã2ç§éç¨åº¦ããããåè¦ããä¸åº¦æã«åã£ããããããããè±èãããè¿·ããã¨ãªãåãæã£ã¦ããã«ã´ã«æ¾ãè¾¼ãã ãæå¾ã«ã¢ã«ã³ã¼ã«é£²æãå·ãããã¦ããæ£ã®åã¸è¡ãã¨ãç§ã飲ãããã¨ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}