ä¾ãã° Perl çã使ã£ãã¹ã¯ãªãããæ¸ããã¨ããã Windows ä¸ã§ãããèµ·åããã«ã¯ã©ã®ããã«ã³ãã³ãå ¥åããã°ããã ããï¼ ä¾ãã°ãããªæãã ãããã c:\work> perl hoge.plãããåä¸ã®ã³ãã³ãã¨ãã¦å®è¡ãããå ´åã«ããããã¡ã¤ã«ãä½ã£ã¦ããæ¹æ³ãç´¹ä»ããã¦ããã http://d.hatena.ne.jp/hyuki/20090821/twitter ããããããããã¡ã¤ã«ãä½ãæ¹æ³ãå®çªã ã£ãã®ã¯å¤ã Windows ã§ã®ãã¨ã ã ã¹ã¯ãªããã®æ¡å¼µåã«ç¶ãã¹ãé¢é£ä»ããã¦ããã°æéãã²ã¨ã¤çç¥ã§ããã å ·ä½çã«ã¯ä»¥ä¸ã®ã³ãã³ããå®è¡ããã°æ¡å¼µå .pl ãã¤ããã¹ã¯ãªãã㯠perl.exe ã«æ¸¡ãããããã«è¨å®ãããã assoc .pl=PerlScript ftype PerlScript=perl.exe "%1" %*ã¨ã¯ã¹ããã¼ã©ã®ãã©ã«ããª
ActivePerl (Windowsç) ã«ã¯ Win32::API - Perl Win32 API Import Facility - metacpan.org ãä»å±ãã¦ããã®ã§ãä»æ¥ããããã« Win32::API ãå©ç¨ããããã°ã©ãã³ã°ãåºæ¥ã¾ãã ç°¡åãªã¡ãã»ã¼ã¸ããã¯ã¹ã表示ããPerlããã°ã©ã ã¯ä»¥ä¸ã«ãªãã¾ãã #!/usr/bin/perl use Win32::API; my $MessageBox = Win32::API->new("user32", "MessageBoxA", "NPPN", "N"); $MessageBox->Call(0, "Hello, World!\n", "Message", 0); ãã®ããã°ã©ã å®è¡ããã¨ããHello, World!ãã¨æ¸ãããWindowsã¡ãã»ã¼ã¸ããã¯ã¹ã表示ããã¾ãã ããã Win32::API
(I've been working on the new TypePad connect and profile stuff, so this feels more natural to get back to blogging on TypePad :) I've restarted my love of hacking RSS feeds and Perl (aka Plagger) and launched my new toy project Remedie the pluggable Media Center application written in Perl and backed by Plagger. I'll talk about it more on that later, but this has already proven its usefulness and
Strawberry Perlãªããã®ãå ¥ãã¦ã¿ãã MinGW+dmakeãã¼ã¹ã®Windowsç¨Perlç°å¢ãããã Windowsç¨Perlã¨ããã°ActivePerlãæåã§ãèªåãé·ããæç¨ãã¦ãããã ããVC+nmakeãã¼ã¹ã¨ãããã¨ã§ã¢ã¸ã¥ã¼ã«ã®ã¤ã³ã¹ãã¼ã«ããã¾ããããªããã¨ãå¤ãã£ããèªå® ã¯ã¾ã ãããã©ä¼ç¤¾ã«ã¯VCå ¥ã£ã¦ãªããã ã§ãStrawberry Perlã¯gccè¾¼ã¿ã§ç°å¢ãæ§ç¯ãããã®ã§ãã»ã¨ãã©ã¤ã¾ã¥ããã¨ãªãcpanã¨ãã§ããããã¤ã³ã¹ãã¼ã«ãåºæ¥ã¡ããã¨ãã ã¤ãä»ã®æ代ã¯CPANPLUS(cpanp)ãªãã¦ãã®ãããã®ããããããããªããã©ããã使ãã¨ãããããã ãã¨ä¾åã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããæã®ããã«MSYSãå ¥ãã¦ããã¨ããããï¼ Strawberry Perlã«ã¤ãã¦èª¿ã¹ã¦ãéä¸ã§Vanilla Perlã¨ãããã®ãåºã¦ãããã ãã©ãSt
ã¡ãã£ã¨ããéæ®ããã°ã©ã ã§ããããã©ã«ãã®ãã¡ã¤ã«åã®æ½åºãè¡ããã¨æã£ããã ã ã»ãã¨è»½ãæ°æã¡ã§ããã軽ãæ°æã¡ã§ã¡ããã¡ããã£ã¨ãã use Path::Class; use Perl6::Say; for my $file ( dir('./hoge')->children ) { say $file->basename; } ãããªã®ãããããã·ã³ãã«ãã¡ããã·ã³ãã«ãã³ã¬ã§hogeãã©ã«ã以ä¸ã®ãã¡ã¤ã«ãåå¾ã§ããã®ãã ã§ãåããã¦ã¿ãã®ããã¡ããäºãããããªWindowsç°å¢ããWindowsç°å¢ã ããã¨ãããã¾ããã¡ã¤ã«åãæ½åºã§ããªãã£ãã®ãã ããããããããã¨ã ãShift_JISã ãShift_JISãShift_JISã®ãããªãã ããã¡ã¤ã«åã«Shift_JISãå«ã¾ãã¦ãã®ã Shift_JISã®ãäºããã表ãã¨ãã®æåã³ã¼ãã¯2ãã¤ãç®ãããã¯ã¹ã©ãã·ã¥
Perlãå¾æã§ãªãçè ã¯ãWindowsã§Perl = Active Perlã¨ããå¼ãã§ãããã£ã¦ãããããã¦ãCPANã使ããã¨æã£ã¦ã¨ã©ã¼ãåºã¦ãã¾ããPPMã使ãã®ã ããä½ããã¾ãã¡â¦ã¨ããæãå¦ããªãã£ãã Strawberry Perlã®å ¬å¼ãµã¤ãã巨大ãªã¤ãã´ãç®å°ã æããWindowsã§Perlã使ããã¦ããæ¹ã®ä¸ã«ã¯åãæããããæ¹ãããã¯ãã ãããã§ãPerlã®å®è¡ç°å¢èªä½ãå¤ãã¦ãã¾ããã ä»åç´¹ä»ãããªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã¯Strawberry PerlãCPANããã®ã¾ã¾ä½¿ããPerlå®è¡ç°å¢ã ã ActivePerlãnmakeãã¼ã¹ã§ããã®ã«å¯¾ããStrawberry Perlã¯gccã使ã£ã¦ç°å¢ãæ§ç¯ããããã®ãããCPANããã®ã¾ã¾å©ç¨ã§ããããã«ãªã£ã¦ããã使ãåæãããã¶ãè¯ããªã£ã¦ããã ãã¼ã¸ã§ã³æ å ± ã¾ããææ°çã§ã¯PPMãPARããµã
kansai.pmã«è¡ã£ã¦ãã¾ããã id:hakobe932ã®ãã¬ã¼ã³(http://d.hatena.ne.jp/hakobe932/20080531/1212255159)ã§Mooseã®ã¹ã´ãµãåãã¦ç解ã§ãã¾ããã ã©ãã§ããããã¨ã§ããã¹ã©ã¤ãã§ã ã»Mooseã£ã¦ä½ï¼ ã»Mooseã®ã㢠ã¨ä¸¦ãã§ããã®ããä¸ç¬ãMooseã£ã¦ãã¢ãã«è¦ãã¦ãã¾ãã¾ããã æ©éã¤ã³ã¹ãã¼ã« debianã§ã¯libmoose-perl ã¨ããååã§ã§ããã±ã¼ã¸åããã¦ããã®ã§ apt-get install libmoose-perlä¾åé¢ä¿è¾¼ã¿ã§ã¤ã³ã¹ãã¼ã«å®äºã 楽ã¡ãã Windowsã§ã¯ http://steffen-mueller.net/modules/repository/ ã«ã¬ãã¸ããªãããã¨æ¸ãã¦ãããµã¤ããããã¾ãããã2008/6/1ç¾å¨ã¤ãªããã¾ããã§ããã http://
1å¹´ãããã¹ãã ãã£ã«ã¿ã¼ã¨ãã¦Beckyã®ãã©ã°ã¤ã³ã¨ãã¦æä¾ããã¦ãã深海éãã£ã«ã¿(ã·ã¼ã©ã«ã³ã¹ã½ãã)ã¨ãããã®ã使ã£ã¦ããã®ã§ãããããæè¿ãã¼ã¸ã§ã³ã¢ããã®é »åº¦ãå¤ãã¦å®å®ãã¦ããªãã®ããªã¨ããå°è±¡ããã£ãããèªåã®ç°å¢ã§ã¯åä½æã«CPUã100%ã¾ã§ãã£ã¦ãã¾ããã·ã³ã®åä½ãéããªã£ã¦ãã¾ã£ããã精度çã«ãæªãã¯ãªããã©è¯ãããªãã¨ããæãã ã£ããããä»ã®ã¹ãã ãã£ã«ã¿ã¼ã®å°å ¥ãæ¤è¨ãããã¨ã«ãã¾ããã æ¤è¨ããéã®ãã¤ã³ãã¨ãã¦ä»¥ä¸ã®5ç¹ãèæ ®ãã¾ããã Windowsã§åä½ãã Beckyã§ä½¿ããã¨ãã§ãã ã¹ãã å¤å®ç²¾åº¦ãããç¨åº¦é«ã å°å ¥ã楽 ã¡ã³ããã³ã¹ã楽 ã§ãããããã¨æ¢ããçµæSpamAssassinã®Windows Portã§ããSAwin32ãä¸çªãã£ãããããããããã使ããã¨ã«ãã¾ããã SAwin32ã«ã¯SAProxyã¨ããã¢ããªãå«ã¾ãã¦ãã¦(ã¨ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}