Dismiss Join GitHub today GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together. Sign up
ãã¦ãã¦ãããã°ã©ãã³ã°ã«ããããã°ã®çºçæºã¯ã使ãæ¹ãã¾ã¡ããã¦ãããã¨ã«èµ·å ãããã®ãå¤ãã ç«ãé»åã¬ã³ã¸ã§ãããã人ãããããã«ã ãããã chomp() ã¨ããçµã¿è¾¼ã¿é¢æ°ã¯ãªãå¿ è¦ãªã®ãã Perl5 ã§ã¯ããã¼ã¿ãè¡åä½ã§å¦çããã¨ãããã¨ãéè¦ãããã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ãªã£ã¦ãããããã¯ä¸è¬çãªããã¹ãå¦çã®é »åºãã¿ã¼ã³ã ããã ã while (<>) { chomp; say if /foo/; } ããã¯ãå ¥åãã¼ã¿ãè¡ãã¨ã«ã¨ãã ããæ¹è¡ãã¨ãã®ããã/foo/ ã¨ããæ£è¦è¡¨ç¾ã«ãããããè¡ã ãã表示ããã¨ããããã°ã©ã ã ã Perl5 ãç¥ã£ã¦ãã人ãªããã ãããç°¡åã«ç解ã§ããã ãã㧠$/ ã¨ããå¤æ°ãåé¡ã¨ãªãã$/ ã¯ãè¡ã®åºåããã¯ãã£ã¦ããç¹æ®ãªã°ãã¼ãã«å¤æ°ã§ãawk ã§ããã¨ããã® RS ã«ããããã®ã ã ãã® $/ ãå¤æ´ãããã¨ã«ãããè¡ãã®åº
Thanks to everyone who entered the Haiku Contest this year. We hope to have it again next year! Perl Conference 4.0 Haiku Contest Finalists Prizes: First Prize: O'Reilly voucher VA Linux cube Second Prize: O'Reilly voucher ActiveState pack Third Prize: O'Reilly voucher Honourable mentions: Perl Mongers Surplus T-shirt A special thanks to our sponsors for donating the prizes! Dishonourable Mention
JavaScript åã¯ãã¨ã㨠VisualStudio 㧠JavaScript ãæ¸ãã¦ãã¦ã VisualStudio ã®ãã©ã®ãã¼ã¸ã§ã³ããã ã£ããããå¿ãã¦ãã¾ãã¾ããããããããã㯠Web ã ãã£ã¦è¨ãåºããã¨ãã«å®è£ ããã JS ç¨ã® Intellisense ãããªãé«æ©è½ã§ãåæ¨è«ã°ãã°ãã§ãæåã㦠JS æ¸ãã¦ãããã§ããããªã«ãè²ã ããã¾ãã¦ãç§ã®éçºæ©ãä¼ç¤¾ãèªå® ã Linux ã«ãªã£ã¦ãã¾ã£ããã¨ãããããã°ãããå¥ããã¦ããã¾ããã ã§ãå»å¹´ãããã«ã Intellisense ã¨åããããããããã¨è©å¤ã«ãªã£ãã®ã WebStorm ã§ã確ãã«åãããããããï¼ï¼é¦¬é¹¿ã£ã½ãææ³ï¼ã ãããããã¾ãè²ã ããã¾ãã¦ææ¾ããä»ã¯ Emacs ã使ã£ã¦ããã¾ãã¦ãã¨è¨ãã®ããä»ã¯ tern ã¦ã®ãããã¾ãã¦ããããã§ãããç§ donate ããããã§ãããåã
æ®æ®µPerlæ¸ãã¦ã¦ï¼ã¡ã½ããã®ã·ã°ããã£å¤ããã¨ãããã¸ã§ã¯ãä¸ã®å¼ã³åºããæã§æ¸ãæãã¦ãï¼ ããããããã¨ç²ããã®ã§ï¼ã½ã¼ã¹ã³ã¼ãä¸ã®ï¼ã¡ã½ããã®å¼ã³åºãã¨å¼æ°ãç½®ãæããããã°ã©ã ãä½ãããï¼ ãããã§ããã°ï¼éæ¨å¥¨ãªã¡ã½ããã®å¼ã³åºããæ°ããã¡ã½ããã«èªåã§ç½®ãæãããï¼ã¡ã½ããã®ã·ã°ããã£å¤ããã¨ãã«æ©æ¢°çã«ç½®æã§ããï¼ ä»¥åï¼ãã¼ã¯ã³ãç½®ãæããã®ãä½ã£ãï¼ããã使ãã°ï¼ifã¨unlessãç½®ãæããããï¼1ãã¼ã¯ã³ã ãç½®ãæãã§ãã¦ãï¼ãã¾ãå½¹ã«ç«ããªãï¼ãã¼ã¯ã³åä½ã¯ä»¥åãã£ãã®ã§ï¼ä»åã¯æåä½ã§ç½®ãæããã¦ã¿ãï¼ PPI::Transformã使ã£ã¦ã½ã¼ã¹ã³ã¼ãä¸ã®ãã¼ã¯ã³ãç½®æãã - hitode909ã®æ¥è¨ éç解æãã¦ç½®ãæãã PPI::Transformã使ã£ã¦ï¼ã½ã¼ã¹ã³ã¼ããéç解æãã¦ç½®ãæãããã¨ãèããï¼ PPIã§ãã¼ã¯ã³åä½ã«åå²ãã¦ï¼æå®ãããã¼
ç²¾ç¥ã®æã®é¨å±ã§ã馴æã¿ã®ã¯ã¦ãªã¤ã³ã¿ã¼ã³(8/12 - 9/6)ã«ã Perlã®æ¸ããªãæ 弱女å大çãåå ãã¦ãã¾ããã photo by Norio.NAKAYAMA ã¯ã¦ãªã¤ã³ã¿ã¼ã³ã®ããã¨ãã ï¼Webã¢ããªéçºãã²ã¨éãä½é¨ã§ãã 詳ãã㯠ã¤ã³ã¿ã¼ã³ååã¾ã¨ãã«æ¸ãã¾ããã ã¯ã¦ãªã¤ã³ã¿ã¼ã³ã§ã¯è¨è¨ãããµã¼ãã¼ãµã¤ã/ã¯ã©ã¤ã¢ã³ããµã¤ãã®å®è£ ã¾ã§ã2é±éã§ä½é¨ãããã¨ãã§ãã¾ãã æ¯æ¥ååä¸ã«è¬ç¾©ãåããåå¾ã«ã¯ãã®è©±é¡ã«é¢é£ãã課é¡ãåºããã¾ãã ããããªããã¨ãããããããã¾ããã ã¹ã¼ãã¼ã¨ã³ã¸ãã¢ãããå¦ç2人ã«å¯¾ãã¦1人ã¡ã³ã¿ã¼ã¨ãã¦å¸¸ã«ã¤ãã¦ãããã¨ããæé«ã«è´ æ²¢ãªç°å¢ã§ããã°ã©ãã³ã°ããããã¨ãã§ãã¾ãã 楽ãããã¦å®æã«ã¯å¸°ãã¾ããã§ããã ï¼ã¨ã³ã¸ãã¢ã«ãªãããå¦çã«ã¨ã£ã¦æé«ã®ç°å¢ ã¨ã³ã¸ãã¢ã«ãªãããå¦çã«ã¨ã£ã¦æé«ã®ç°å¢ã¨ã¯ãªãã§ããããã 6ä¸å以ä¸ã
Devel::Cover::Report::Vimã§ã§C0ãªã«ãã¬ãã¸ã®ã³ã¼ãã vim ã§è¡¨ç¤º - dann's blog - # æ¬å½ã§ããã°, Devel::Cover::Report::Emacsçãªãã®ã使ã£ã¦ãã¹ã ãªãã§ããããã©, HTMLã解æãã¦è¡¨ç¤ºããããããªãã®ãä½ã£ã¦ã¿ã¾ãã. Devel::Cover::Report::Compilationã¨ãããã®ããã, compilation-mode㧠使ãããã®ãããã¿ãããªã®ã§ãã, ãããããã¾ããã§ãã. ãã¨ä½ããã(?)ã®ãªãã¸ããªããã£ããã§ãã, ä½ããªãã£ãã®ã§æ°è¦ã«ä½ã£ã¦ããããªã¨æãã¾ãã ãªãã¸ã㪠https://github.com/syohex/emacs-devel-cover Requirements Emacs24 configured with libxml2 ä¾åããã±ã¼ã¸ã¯ç¹ã«
ãã miyagawa ããã¨ãã comaint ãäºã ã¨ãã£ã¦ãã¾ãããæå¤ã¨ãããã¦ããªãã®ã comaint ã®å®æ ã§ãã ã¾ã㯠PAUSE ã®å¦çããã¼ã«ã¤ãã¦èãã¦ã¿ã¾ãããã ã¾ã minil release ã¨ãã㦠tar ball ã PAUSE ã®ãµã¼ãã¼ã«ã¢ãããã¼ããã¾ãããã®æãã¢ãããã¼ãå 㯠authors/id/M/MO/MOZNION/HTML-Shakan-0.18.tar.gz ã¨ãã«ãªãã¾ãã ãããã㨠PAUSE ã®ã¤ã³ãã¯ãµããã³ãã³ã¨åãã ãã¦ãMETA.json ã® provides ã»ã¯ã·ã§ã³ã¾ã㯠.pm ã解æãã¦ãpackage ã¨ãã¼ã¸ã§ã³ã®æ å ±ãæ½åºããããã¼ã¿ãã¼ã¹ã«ç»é²ããã¾ãã ãã®éãæ°è¦ãã¼ã ã¹ãã¼ã¹ããèªåããã£ã¦ããã¼ã ã¹ãã¼ã¹ãªãããã®ã§ãããä»ã®äººããã£ã¦ã namespace ã®å ´åã«ã¯ UNAUTHOR
Python使ãã¨ãã¦ã¯ããªãå½å ã§Perlãæ¥éã«èãã ã®ããã«ã¤ãã¦ä¸è¨ããã³ã¿ããã¨ãããããã¾ãã >éã«Perlã«ã¨ã©ããåºããã®ã¯Pythonã§ãããå®åç¯å²ã¯å½ç¶ãªããPerlã¨é§ã 被ã㧠ãã£ãPerlã¨Pythonã®å®åç¯å²ãã ã ãã¶ãã£ã¦ãèè ã®è¦³æ¸¬ãã¦ããããããã®è¨èªã®ãå®åç¯å²ãã£ã¦ã©ãã ãçããã§ãããï¼ ã¾ããããªéç®±ã®é ãã¤ã¤ãã®ã¯ããã¦ããã¾ãããããã®ã¨ã³ããªã¼ã«ã¯çµè«ã®æç« (ã®ä¸é¨)ã¯ã¨ã¦ãç´ æ´ãããã§ãã >10å¹´ã§ããã¾ã§æ代ã¯å¤ãããä»ã®ã¡ã¤ã³ãã¯ããã¸ã¼ãææ¥ã¯æã身ã ã >å¤åã®éãæ代ã«çããæã ã«å¿ è¦ãªã®ã¯æ¬è³ªãå¦ã¶äºã ã >ãã£ã¨10å¹´20å¹´ãã£ã¦ãè²ãããªãæ å ±å·¥å¦ã身ã«ã¤ããªããã°ãªããªãã ãããããã§æèãã³ã¼ãã£ã³ã°ãæ¯ããæè¡ãã®ãããªæ¬ãå¿ è¦ã«ãªãããã§ãï¼(宣ä¼) ã¡ãªã¿ã«åèªèº«ã¯ä»äºã§ã趣å³ã§ãPerlã¯ä½¿ã£ã¦ãã¾ãã
Carton v1.0.0 is released on CPAN. Since the first announcement at YAPC::NA 2011, Iâm sure it has taken more time than necessary, but after my attempt to grok Rubyâs bundler more, i refactored and rewrote most of the code, and I think itâs usable for the most of production apps. Iâve been using it on my production website that handles millions of requests, and I know a lot of businesses use carton
ããããããRubyçã®éé®ã®æ¹ã ï¼èéæ°ãåé¨æ°ãå¢äºæ°ï¼ãéãã¦Rubyã®è¯ãã¨ããï¼ï¼Perlã«è¶³ããªãã¨ããï¼ãRubyãããã¦ãçç±ãç±ãèªã£ã¦ãããç¹å¥åº§è«ä¼ã§ãï¼ å¸ä¼ã¯ä¼è¤ãªããæ°ãã¾ãPerlããã«ã¼çããã¯æ¾éæ°ããå¼ã³ãã¦ãPerlå´ã®ããã¦ãã¨ãããä¼ãã¦ããã ãã¾ãã Perlã大好ããªäººã¯ãã®ã»ãã·ã§ã³ããRubyããçãã¹ãäºãæãåã£ã¦ããããRubyã大好ããªäººã«ã¯Perlã«è§¦ããããæ©ä¼ã¨ãã¦ããã ããã°å¹¸ãã§ãã
æ¨æ¥ã®ã¯ã¾ã£ãã¨ã³ã㪠é¢æ°ã®è¿å´å¤ããã®ã¾ã¾ãããã·ã¥ã®å¤ã«è©°ãè¾¼ãã å ´åããªã¹ãã³ã³ããã¹ãã¨ãªããã§ããªããããã·ã¥ã¯é åã®ä¸ç¨®ã ããå½ç¶ãªãã§ããã»ã»ã» 以ä¸ã®ã½ã¼ã¹ãè¦ãã¨ãããããã¾ãã use strict; use warnings; use Data::Dumper; sub test(){ wantarray? (1,2):1; } my $hoge = { aaa=> test()}; print Dumper($hoge); $hoge = { aaa=> scalar test()}; print Dumper($hoge); ã§ãçµæã $ perl test.pl Odd number of elements in anonymous hash at test.pl line 9. $VAR1 = { 'aaa' => 1, '2' => undef }; $
å¿åãèãã¦ããã¿ãªãã¾ã¸ LINEã¤ãã¼ã¯æ¥å¸¸çæ´»ã®ããããã·ã¼ã³ã§æ´»èºããå¤ç¨®å¤æ§ãªãµã¼ãã¹ãä½ã£ã¦ãã¾ãã ä»ã¾ã§ã®ãã£ãªã¢ãçããããã便å©ãªãµã¼ãã¹ãåµãããã¨ããæ欲ãããæ¹ããã²LINEã¤ãã¼ã§ã¨ãã«åãã¾ãããã ã¾ãã¯å¿åããã³å¿åæ¤è¨ã®ããã®æ¹æ³ã»æ©ä¼ã«ã¤ãã¦ã®æ¡å ãå¿åã¬ã¤ãããã覧ãã ããã å¿åã¬ã¤ããè¦ã
æ¬ãã¼ã¯ã§ã¯ãç§ãéçºãã¦ããCompilerã¢ã¸ã¥ã¼ã«ç¾¤(Compiler::Lexer, Compiler::Parser, Compiler::CodeGenerator::LLVM)ãç¨ãã¦ãPerlã³ã¼ãããã©ã¦ã¶ä¸ãiOSä¸ã§åä½ãããããããã®æ°ããPerlãããã¯ãã®ããã¡ããè¦ãã§ããã°ã¨æã£ã¦ãã¾ãã æéãä½ãã°ãä¸è¨ã¢ã¸ã¥ã¼ã«ãéç解æãã¼ã«ã¨ãã¦å©ç¨ããå ´åã«å¾ãããã¡ãªããã«ã¤ãã¦ããä½æããã¢ã¸ã¥ã¼ã«ã交ããªãããç´¹ä»ãããã¨æãã¾ãã â»ã©ã®ã¢ã¸ã¥ã¼ã«ãã¾ã éçºéä¸ã§ã¯ããã¾ãããå½æ¥ã¯ã§ããã ãå¤ãã®ã¢ããªã±ã¼ã·ã§ã³ãåãããããã«ãã¦è¨ã¿ããã¨æã£ã¦ãã¾ãã
æè¿ãå½å ã§ã対å¿ã¬ã¸ã§ããã®çºå£²ãéå§ããã fitbit ( http://www.fitbit.com/ ) ã® APIã使ã£ã¦ã楽ããçæ´»ãè¨é²ãã¦ç©ãã¾ããYAPCã¾ã§ã«ä½éã10kgæ¸ããªãã£ãå ´åã¯ãæ¡æãã¦é ããã¨ãã¦ãå 容ã«å¤æ´ãçããå¯è½æ§ãããã¾ãâ¦â¦ã
æ¥æ¬ã§Perlã使ã£ã¦ãã人éãPerlãã©ãããç®çãç°å¢ãããã«ã©ã®ãã¼ã¸ã§ã³ã使ã£ã¦ããã®ãç¥ãããã®ã§ããããªãã©ã¼ã ãä½ã£ã¦ã¿ã¾ãããç´è¨³ããã°ãPerl5å½å¢èª¿æ»ãã§ããã Perl5 Census Japan 2013 Perlãã¡ã¤ã³ã§ä½¿ã£ã¦ãªãæ¹ã«ãæ¯éåå ããã ãããã§ã ãã¾ããç¥ãåãã®æ¹ã«ãæ¡æ£ãã¦ãã ãããä»ã®ã¨ãããã©ã¼ã ã¯æ¥é±ãã£ã±ã(4/19ãããï¼ãç®å¦ã«ä¸æ¦ç· ãåãã¤ããã§ãã çµæã¯å¾ã»ã©ã°ã©ãçã«ã¾ã¨ããäºå®ã®ä»ãã²ãã£ã¨ããã¨YAPC::Asia Tokyo 2013ã§ä½¿ãããããã¾ããã ãããããé¡ããããã¾ãï¼
Perl5.10ããå®è£ æ¸ã¿ ã~~ãã§è¡¨ããã çãå½ãè¿ã 2ã¤è¢«æ¼ç®åï¼ãªãã©ã³ãï¼ãã©ã®ããã«æ¯è¼ããã®ãèªãå¤æããï¼ ä¾ #ã¹ãã¼ããããæ¼ç®å say "I found Fred in the name !" if $name ~~ /Fred/ #ç価 print "I found Fred in the name !" if $name =~ /Fred/ ä¾ ãããã¿ã¤ã %a ~~~ %b ããã·ã¥ã®ãã¼ãå ¨ã¦çãã %a ~~ @b å°ãªãã¨ã%aã®ãã¼ã®1ã¤ã@bã«å«ã¾ãã¦ãã %a ~~ /Fred/ å°ãªãã¨ã%aã®ãã¼ã®1ã¤ããã¿ã¼ã³ã«ããããã @a ~~ @b é åã®å 容ãçãã @a ~~ã/Fred/ å°ãªãã¨ã1ã¤ã®è¦ç´ ããã¿ã¼ã³ã«ããããã @a ~~ 123 å°ãªãã¨ãã²ã¨ã¤ã®è¦ç´ ã123ã§ãã @a ~~ 'fred' å°ãªãã¨ãã²ã¨ã¤ã®è¦ç´
Perl ã Crash ããããããããªæ¬²æ±ãæããããªãããªãã®ããã«ãããã¤ãã®æ¹æ³ãæãããã ãããã㪠crash unpack ã§ä¸æ£ã¢ã¯ã»ã¹ perl -e 'unpack "p",0xdeadbeef' pack ã«ãã㦠'p' 㯠A pointer to a null-terminated string. ãæå³ãããä¸æ£ãªã¡ã¢ãªé åã«ã¢ã¯ã»ã¹ããã°æ»ã¬ã®ã¯ãããã¾ãã§ããã overload ã®ä¸ã§å帰ãã perl -e 'use overload q{""}=>sub{"$_[0]"};$a=bless{},main;"$a"' overload ã® stringify ãããé¨åãªã©ã§ç¡éã«ã¼ãã«ãã¡ããã¨ãsegv ããã ãã®ãã°ã¯æããç¥ããã¦ãããticket ãåããã¦ãããããªãã£ã¦ããªãã @INC ã®ä¸ã® coderef ã§å帰ãã perl
Q2 ã«ãªã£ãã®ã§æã«1åãããã¯æ¥æ¬èªã§æ¸ãã¦ã¿ããã¨ã«ããã ããæ°å¹´ã§ Perl ã«èµ·ãã£ãè¯ããã¨ã¯2ã¤ããã ã²ã¨ã¤ã¯ PSGI/Plack, cpanminus, carton, cpanfile ãªã©ããããè¯ããã®ãä»è¨èªããè¼¸å ¥ããããã¨ã§ãPerl ã§æ¸ããªãã¦ã¯ãããªãæã®é¢åã軽æ¸ãããããããã Ruby ã§ããã¨ããã® Rack, gem (1), Bundler, Gemfile ã«å¯¾å¿ãã¦ããã ããã²ã¨ã¤ã¯ Module Counts ã«ã¿ãã©ã¤ãã©ãªæ°ã®æ¨ç§»ããMoose ã®éçºè 㧠Perl 5 ã«ã¡ã¿ãªãã¸ã§ã¯ããããã³ã«ãå ¥ããã¯ãã® Stevan Little ã Perl is not Dead, it is a Dead End ãªãã¦è¨ãåºãããããã ãã ãè¡°éãã¦ãããã¨ã§ããªãã¨ããã妥å½ãªä¸ä»£äº¤ä»£ã ã¨æãã Perl ã§ããã¨ãã°ãªã«
JVNã§ãå ¬éããã¦ãã¾ãããperl 5.8.2ããperl 5.16ç³»ã¾ã§ã®ãã¼ã¸ã§ã³ã§ããã·ã¥å¤ã®è¨ç®ã«å¯¾ããèå¼±æ§ãå ±åããã¦ãã¾ãã perl 5.16ç³»ã§ããã° perl 5.16.3ã5.14ç³»ã§ããã° perl 5.14.4 ã§ä¿®æ£ãããã¦ãã¾ãã®ã§ãã¢ããã°ã¬ã¼ããæ¨å¥¨ããã¦ãã¾ãã ãã§ã«EOLã¨ãªã£ã¦ããperl 5.8ç³»ã5.10ç³»ã5.12ç³»ã§ã¯git ã¬ãã¸ããªã«åå¨ããããããé©ç¨ãããã¨ã§ãã®ä»¶ã«é¢ãã¦ã®ä¿®æ£ãè¡ãäºãã§ãã¾ã (perl 5.8 -> ã¬ãã¸ããªÂ 対象ã³ãããã perl 5.10 -> ã¬ãã¸ã㪠対象ã³ãããã perl 5.12 -> ã¬ãã¸ã㪠対象ã³ããã åãã³ãã¼æä¾ã®perlãèªåã§ã¤ã³ã¹ãã¼ã«ããperlãã¢ããã°ã¬ã¼ããæ¨å¥¨ããã¦ãã¾ãã
ãç¥ãã
é害
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}