Plack Handbook ãæ¥æ¬èªã«ç¿»è¨³ãã¾ãããä¾¡æ ¼ã¯æ®ãç½®ã$5ã§è±èªã»æ¥æ¬èªçå梱ã§Gumroadããè³¼å ¥ã§ãã¾ãã
ãã®ãµã¤ã㯠Perl ã®å ¬å¼ããã¥ã¡ã³ããæ¥æ¬èªç¿»è¨³ãããã®ã表示ãããµã¤ãã§ãã翻訳ãã¼ã¿ã¯ãperldocjp project ããã¨ã£ã¦ãããã®ã§ãã é¡ä¼¼ã®ãã®ã« perldoc.jp ãããã¾ããããããããã¿ããããªãããã«ããã°ã£ã¦ã¿ã¾ããã ããã¥ã¡ã³ãä¸è¦§ æ¦è¦(overview) perl - Perl ã®æ¦è¦ perlrun - perl ã³ãã³ãã®å®è¡ã¨ãªãã·ã§ã³ã«ã¤ã㦠ãã¥ã¼ããªã¢ã« perldebtut - ãããã°ã®ãã¥ã¼ããªã¢ã« perlopentut - Perl ã§ããããªãã®ãéãããã®ãã¥ã¼ããªã¢ã« perlpacktut - pack 㨠unpack ã®ãã¥ã¼ããªã¢ã« perlreftut - Mark ã«ãããªãã¡ã¬ã³ã¹ã«é¢ããã¨ã¦ãçããã¥ã¼ããªã¢ã« perlretut - Perl ã®æ£è¦è¡¨ç¾ã®ãã¥ã¼ããªã¢ã« perlt
local::libã¯ç°¡åã«ããã¨CPANã¢ã¸ã¥ã¼ã«ãã·ã¹ãã æ¨æºã¨ã¯éãä»»æã®ãã£ã¬ã¯ããªã«ã¤ã³ã¹ãã¼ã«ããè¨å®ãæ¯æ´ãã¦ããã便å©ãã¼ã«ã§ããroot権éã®ç¡ãã¬ã³ã¿ã«ãµã¼ãã¼ã§CPANã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããããã«ä½¿ããããã Remedie http://remediecode.org/ ã®ããã«ä¾åCPANã¢ã¸ã¥ã¼ã«ãã¨ã¾ã¨ãã¦é å¸ããã®ã«ä½¿ãããããã¾ãã ä»åã¯Mac OS Xã§sudo権éã使ããã«CPANã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããããã®æ¹æ³ã解説ãã¾ãã æ¦è¦æ¨æºã®Perlã®ã¢ã¸ã¥ã¼ã«ã¨å¾ããã¤ã³ã¹ãã¼ã«ããCPANã¢ã¸ã¥ã¼ã«ãå¥ãã£ã¬ã¯ããªã«åãã¦ãããã®ã§ OSã®ã¤ã³ã¹ãã¼ã«ããªããã§ããã¼ã¸ã§ã³ãæ»ã£ããããªãçæ´»ç°å¢ã®ããã¯ã¢ãããç°¡åã«å®çªCPANã¢ã¸ã¥ã¼ã«ãå ¥ãã¾ãã£ã¦ã¦ãèªä½ã¹ã¯ãªããã®Makefile.PLã®requiresæ¸ãæ¼ãããã§ãã¯ãããã
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ã¿ãªãã¾åãã¾ãã¦ããã«ã¡ã¯ããã¬ã¨ç³ãã¾ãã ã®ã£ãããè¨ãã®ããã³ã§ãããåã¯ã»ã¨ãã© Perl ã使ã£ãäºãããã¾ãããã¨ããããã®ååãã¦è§¦ãã¾ãããæ®æ®µã¯ C++ 㧠OpenGL é¢ä¿ã®ããã°ã©ã ãæ¸ãã¦ããäºãå¤ãã®ã§ãããå¨ãã«ã¯ Perl 使ãããããªãã¨ããç¶æ³ã§ãå¯ããæãããã¦ããã¾ããã¿ããªã« C++ ã使ã£ã¦ãããã®ã¯ç¡çãããï¼ã¨ãããæå³ãç¡ãï¼ã®ã§ããããªããã㦠OpenGL ãåºãã¦ãããã»ã»ã»ã¨ãããã¨ã§ã Perl ã§ã OpenGL ã¯ç°¡åã«æ±ãããï¼ã¨ããäºããç´¹ä»ãããã¨æãã¾ãã ãããã OpenGL ã£ã¦ä½ã§ããã Open Graphics Library ã®ç¥ã§ãä¸æ¬¡å ã®çµµãæãããã® API ã§ããã©ã¤ãã©ãªã£ã¦ååã ãã©ã©ã¤ãã©ãªãããªãã£ããããªã¼ãã³ã£ã¦æ¸ãã¦ãããã©å®è£ ã¯ãªã¼ãã³ãããªãã£ããã¨ãã¾ãè²ã ããã¾ããã©ãç´°ã
nihenã§ããããã«ã¡ã¯ã ä»å¹´ããã¯ãæ°ããªãç®æãããã¨ãããã¾ãï¼ Perlçéã§ä»å¹´ã¯Text::Xslateã¨ãããã³ãã¬ã¼ãã¨ã³ã¸ã³ãæµè¡ã£ã¦ãã¾ãã ããããã®Xslateã§ç¾å¨ä¸»æµã«ä½¿ããã¦ããSyntaxã¯TTerse*1ã§ãããXslateãã£ãã£ãã¨ããããKolonã¯ã¾ã ãã¾ã使ããã¦ããªãã¨ããã®ãç¾ç¶ã®ããã§ãã ã¨ããããã§ä»åã¯Kolonã®ä½¿ãæ¹ã®åºæ¬ãç´¹ä»ãã¾ãã Perlã³ã¼ãå´ use Text::Xslate; use Hash::MultiValue; my $tx = Text::Xslate->new(); my $var = { foo => 'xslate', bar => { baz => '111', bazbaz => '112', }, baz => [5, 6, 7], hoge => Hash::MultiValue->new
ä»åã¯ããªã¹ã¹ã¡ããªãperlã®å®è¡æ¹æ³ãç´¹ä»ãã¾ãã ã¿ãªããã¯ãwsfããåç¥ã§ããããï¼ Windows ã¹ã¯ãªãã (*.wsf) ãã¡ã¤ã«ã¯ãXML (Extensible Markup Language) ã³ã¼ããå«ãããã¹ã ããã¥ã¡ã³ãã§ããWindows ã¹ã¯ãªãã ãã¡ã¤ã«ã§ã¯ãã¹ã¯ãªããã®æè»æ§ãåä¸ããããã¤ãã®æ©è½ããµãã¼ãããã¦ãã¾ããWindows ã¹ã¯ãªãã ãã¡ã¤ã«ã¯ã¨ã³ã¸ã³ã«ä¾åããªãã®ã§ãWindows ã¹ã¯ãªããäºæã®ä»»æã®ã¹ã¯ãªãã ã¨ã³ã¸ã³ã§ä½æããã¹ã¯ãªããã Windows ã¹ã¯ãªãã ãã¡ã¤ã«ã«å«ãããã¨ãã§ãã¾ããWindows ã¹ã¯ãªãã ãã¡ã¤ã«ã¯ãä¸ç¨®ã®ã³ã³ããã¨ãã¦æ©è½ãã¾ãã http://msdn.microsoft.com/ja-jp/library/cc392507.aspx ã ãããªã®ã§ããã£ããperlãã¹ã¯ãªãã ã¨
Main navigation Solutions Column 1 Business challenge Software renewals and audits Software license management and optimization SaaS spend management Cloud cost management IT asset lifecycle management CMDB data quality Accurate IT inventory Security and regulatory risk management Sustainable IT AI-powered transformation Public sector Column 2 Spend management by vendor IBM Oracle Microsoft SAP VM
éåã§æ¯æ¥ã©ãã¶ãé£ã¹ã¦ã¾ããsugyanã§ã ããã«ã¡ã¯ï¼ çãããã¿ã¼ããã«ãã·ã§ã«ã¯ä½ãã使ãã§ããããï¼åã¯ç¾å¨Macã«ã¦iTerm2+zshã使ã£ã¦ãã¾ã(ããã¾ã使ãããªãã¦ã¾ãããâ¦)ã ããã°ã©ãã³ã°ãã¦æ¸ããã³ã¼ããå®è¡ããã«ã¯ãã¿ã¼ããã«ã§ã³ãã³ããæã¤ã®ãã»ã¼å¿ é ã§ããããçãããæ¯æ¥ããããã®ã³ãã³ããã¿ã¼ããã«ã§å©ãã¦ãããã¨ã¨æãã¾ãã CPANã§é å¸ããã¦ããã¢ã¸ã¥ã¼ã«ãã¡ã¯ãPerlã¹ã¯ãªããå ã§useãã¦ä½¿ãããã®ãã®ã ãã§ã¯ãªããã·ã§ã«ããå®è¡ã§ããã³ãã³ããç¨æããã¦ããå ´åãããã¾ãã[/articles/advent-calendar/2010/casual/1:title=1æ¥ç®]ã§ç´¹ä»ãããperlbrewãcpanmããPerlã§æ¸ãããã³ãã³ãã©ã¤ã³ãã¼ã«ã§ãããã ä»åã¯ãããªã³ãã³ããã¡ãç´¹ä»ãã¦ã¿ããã¨æãã¾ãã â éçºç°å¢ç³» per
ã¯ããã¾ãã¦ãããã«ã¡ã¯ãéã¾ã人æ°ãããããã£ã¦ããã®ã«åæã« Win32 Track ãå§ãã¦æ¢ã«å¾æã®é¦ããã·ãã·ãæ¼ã£ã¦ãã xaicron ã§ãã Windows 㧠Perl ãæ¥å¸¸çã«æ¸ãã¦ãã人ã¯ãæ¥æ¬ã«3人ããããªãã¨è¨ããã¦ãã¾ã*1ã ãããªç¶æ³ãè±å´ããããã¿ã㪠Windows 㧠Perl ã使ããï¼ã ã£ã¦ãæ¬å½ã¯å¿ã®ã©ãã㧠Windows ã好ããªã¯ãã ããï¼ï¼ï¼ ã¨ã¯ããããWindows 㧠Perl ã£ã¦ã»ãã¾ã«åãããããªï¼ãã¨æãããããç¥ãã¾ãããããããæå¤ã¨ã¡ããã¨åãã¾ãã æµè¡ãã® Plack ã ã£ã¦åãããDBI ãåãããã¹ã¯ã¬ã¤ãã³ã°ã Excel æä½ã¾ã§ãæã®ç©ã§ãã ãã® Track ã§ã¯ãWindows ã§ å ¨ã Perl ãåããããã¨ããªã人ããæ¥å¸¸çã« Windows 㧠Perl ãåããã«è³ãããã«æ´è³ãã¾ãã®ã§ã
ã¾ãã¯Re: Perlã¨Cè¨èªã®åã«å¯¾å¿ããå¤ã¸ã®ç¸äºå¤æ XSã§Cã®æååæä½é¢æ°ã®ä½¿ç¨ã¯ãªãã¹ãé¿ããã¹ãã§ããCã®æååæä½é¢æ°ã¯å±éºã§ä½¿ãã«ãããã®ã§ãããã®ä»£ããã«ãPerlãæä¾ããå®å ¨ã§ä½¿ããããSV APIã使ã£ãã»ããä½è¨ãªãã¨ãèããã«æ¸ã¿ã¾ãã ã¾ãCè¨èªã§ããã°ã©ãã³ã°ããéã®ä¸è¬è«ã¨ãã¦ãstrcat()ãsprintf()ãªã©ã®æååé·ãå¶å¾¡ã§ããªãé¢æ°ã使ç¨ããã¹ãã§ã¯ãªããã¨ãããã®ãããã¾ãããããã®é¢æ°ã使ç¨ãã¦å®å ¨ãªããã°ã©ãã³ã°ãããã®ã¯é常ã«å°é£ã§ããã代ããã«strncat()ãstrlcat()ããããã¯snprintf()ã¨ãã£ãæååé·ãå¶å¾¡ã§ããé¢æ°ã使ãã¹ãã§ãã ã¾ãPerl/XSã«é¢ãã¦è¨ããªãã°ãããããCã®æååæä½é¢æ°ã使ãå¿ è¦ã¯ã»ã¨ãã©ããã¾ãã*1ãchar*ã®ä»£ããã«SV*ã使ãããã«ãããªãã¹ãPerl API ã§æå
ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãã©ã¤ãã©ãªã®çµåãã¹ããè¡ã段éã«ãªãã¨ãå®éã« Apache ãèµ·åãã¦ãã¹ããå®è¡ããããªãã¾ãããããããã®ããã«ãã¡ãã¡ Apache ã®è¨å®ãã¡ã¤ã«ãä¿®æ£ã㦠httpd ãåèµ·åãã¦ãã¨ãã£ã¦ãã¦ã¯é¢åã§ããç¹ã«è¤æ°ã®ããã°ã©ã ãåæã«éçºãã¦ããã¨ããã£ã¡ããã¹ãããããã£ã¡ãåããªããªã£ã¦â¦ ãªãã¦ãªã£ãããã¦å«æ°ãããã¦ãã¾ãã ããã§ããã¹ããå®è¡ããéã«ãç°å¢æ¯ã«ç°ãªã以ä¸ã®ãããªåé¡ãå¸åãã¤ã¤ããã¹ãå°ç¨ã«è¨å®ããã Apache ãèªåçã«èµ·åçµäºãã¦ããã Perl ã¢ã¸ã¥ã¼ã«ï¼Test::Httpd::Apache2 ãæ¸ãã¾ããã ç°å¢ã«ãã£ã¦ãã¤ã³ã¹ãã¼ã«ãã¹ãéã (/usr/local/apache/bin ã ã£ãã /usr/sbin ã ã£ãã) ç°å¢ã«ãã£ã¦ LoadModule ã®è¦ä¸è¦ãããã¼ããããã¹ãéã ç°å¢ã«ã
perl5i ã«ã¤ã㦠æè¿ããã¨ãããã¨ã« perl5i ãã¨ã¤ã¨ã¼ã¨ãã£ã¦ããã perl5i ã¯ãperl5 + i ã¨ãããã¨ãªã®ã§ãã£ã¦ãperl6 ã«ããããæ´è½ãªã®ã§ãã£ã¦ããã¤ãã® i ã¨ã¯ããã¾ã§ããªã sqrt(-1) ã®ãã¨ã§ããã perl5 ã¯ãCPAN ã«ããã£ã¦ããã¢ã¸ã¥ã¼ã«é¡ãå©ç¨ãããã¨ã«ããé常ã«ååãªè¨èªã¨ãªã£ã¦ããããä¸æ¹ã§åå¿è ã¯ã¢ã¸ã¥ã¼ã«ã®é¸å®ãªã©ãã¾ããã£ã¦ãããããã¨ããé£ç¹ãããããé»æ± ã¯ãã£ã¦ã¾ããã¨ããæ£ç´æå³ããããã¥ããã¦æ¥æ¬èªã®æ¨èªã¨ãã¦ã¯ããããªãã®ãã¨ããããããªæ¨èªãããããè¨èªã«ããã¹ã¦åå¿è ãã¨ã£ã¤ãã¥ããã¨ããåé¡ãããã ããã§ãperl5i ã§ã¯ãperl5i ã®ã¡ã³ããããããã ã¢ã¸ã¥ã¼ã«ãèªåçã«ãã¼ãããããããªä»çµã¿ãæä¾ãã¦ãããããé常ã«ã¨ã£ã¤ãããããªã£ã¦ããã use perl5i::2; ã¨ããã
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; my $hashref = { hoge => 100, fuga => 200, piyo => 300, }; print Dumper $hashref; ã¨ãããã·ã¥åæåæã«keyã¨valueã®çµã¿åãããã¾ã¨ãã¦æå®ãããã¨ãããã¨æãã¾ãã $ perl hoge.pl $VAR1 = { 'piyo' => 300, 'fuga' => 200, 'hoge' => 100 }; ããã§ãvalueã®é¨åã«ãµãã«ã¼ãã³ãã¡ã½ããããã®è¿ãå¤ãå ¥ããããã«ããã¨ãã«æ³¨æã #!/usr/bin/perl use strict; use warnings; use Data::Dumper; my $hashref = { hoge => 100, fuga
Perl 5.13.2 ãããããã package NAMESPACE BLOCK æ§æããããããã® éçºçã® Perl 5.13.2 ããªãªã¼ã¹ããããã5.13.2 ã®ç®çã¯ãªãã¨ãã£ã¦ã package NAMESPACE BLOCK æ§æã ããã use 5.13.2; use warnings; package Point { use Moose; has 'x' => (is => 'rw', isa => 'Int'); has 'y' => (is => 'rw', isa => 'Int'); __PACKAGE__->meta->make_immutable; no Moose; }; ã®ããã«ãããã±ã¼ã¸ã宣è¨ãããã¨ãã§ããããã«ãªã£ãã ãã®æ§æã¯é常ã«å¤§ããå¤åãããããã 1 ãã¡ã¤ã«ã«è¤æ°ã®ã¯ã©ã¹ãæ¸ããã¨ãè¦ã§ãªããªããpackage NAME BOC
App::FatPackerã¨ã¯ãä¾åã¢ã¸ã¥ã¼ã«ãå ¨ã¦ï¼ã¤ã®ãã¡ã¤ã«ã«æ¼ãè¾¼ãã§ããã¯ãã¦ãããã©ã¤ãã©ãªã§ããCPANã«ããã¾ãã pack your dependencies onto your script file http://search.cpan.org/~mstrout/App-FatPacker-0.009001/ ä¾åã¢ã¸ã¥ã¼ã«ã解決ãã¦ï¼æã®ã¹ã¯ãªããã«ã¾ã¨ãã¦ãããããã§ãã perl使ãã®éã§å¤§äººæ°ã®ãcpanmãã§ãããã使ããã¦ãã¾ãã ã©ã£ãã§cpanmã®ç´¹ä»ã¨ãã¦ãï¼æ岩ã®ã¹ã¯ãªãããã¿ãããªè¡¨ç¾ãç®ã«ãã¾ããããè¦ããã«ããã®ãã¨ãæãã¦ããããã§ãã ã¡ãªã¿ã«ä½è ã¯local::libã®äººã ããã¡ãããã£ã¦é¿ããå¿ã«åºããã¾ãããid:miyagawaããã使ã£ã¦ããã¨ã ãããã£ã¨è¯è³ªã¢ã¸ã¥ã¼ã«ãªãã ãããªã¼ã¨æã£ã¦è§¦ã£ã¦ã¿ã¾ããã 使ã£ã¦ã¿ã¦ ã¾ã
2024å¹´ä¸åæã®ãã£ã«ã åçãã¡ ãµã¨æ°ãã¤ãã¨2024å¹´ãæ®ãå ãã ããã¦ãµã¨æ¯ãè¿ãã¨ãã®ããã°ã«æ²è¼ããåçãGRIIIã§æ®ã£ããã®ã°ããã«ãªã£ã¦ããã®ã ãã©ã決ãã¦ãã£ã«ã ã«é£½ããã¨ãããã¨ã§ã¯ãªãããã£ã«ã ã¯ãã£ã«ã ã§æ·¡ã ã¨æ®ãç¶ãã¦ããããã¢ãã¯ããã«ã©ã¼ãã¬ããã¤ãéãèªå® ã§â¦
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}