2009-03-01ãã1ã¶æéã®è¨äºä¸è¦§
10å¹´æ¯ãããããï¼ ã¤ã³ã¹ãã¼ã©ã®è¦ãç®ãå¤ãã£ã¦ãªã ã¨ããããï¼developper ããã±ã¼ã¸ã§ã¤ã³ã¹ãã¼ã« å ¨ç¶è¦ãã¦ãªããªï¼å®å ¨ã«ç´ 人ã§ãï¼ ã¨ããããï¼ports ãææ°ã«ããã¨ã®ãã¨ãªã®ã§ï¼ # cd /usr/ports # portsnap fetch # portsnap extract # pâ¦
第10ååå¼·ä¼éå¬ãã¾ããä»åã¯ï¼åã³é¢è¥¿ããã®åºå®¢ï¼XPJUGé¢è¥¿ã®ç´°è°·ããããæãã㦠TDD ãã£ã¦ã¿ãï¼ãããªç 究ãããï¼çµè¾¼ã¿(C/C++)ã«ãé©å¿ã§ãããã©ãã¦ãã¦çãªï¼ ã¿ãããªè©±ããã¦é ããï¼ ãªãºã éè¦ ãã¹ãããããã«ç°å¢ã«åãéããã¨å¨ç¥â¦
ãã¥ã¼ã«ãã¼ç¾ãã éï¼è£ï¼å¯¾å¶ããããããã ãªãã°ï¼å¹³å®¶ã§ãªããã°äººã§ãªã å®éæ¬ç·¨ã®æ¹ãæéãçããã®ã§ï¼ãããã¨ãã©ããªã®ãï¼ äºæ¬¡å ã¦ã¼ã¯ãªããå¹³é¢ä¸ã®é·æ¹å½¢ã®è¡¨ç¾æ¹æ³ããããããã æY æ°(ãã¥ã¼ã«ãã¼) ã®é²ã¿å ·åã¨ãã£ããï¼ãã£ã£â¦
Perl åé¡ã解決ããããã®ã¬ã¤ã çããã«è©±ãããã¦ãããï¼ Jon Stewart ãå¸ä¼ã®ãThe Daily Showãã¯è¦ã¦ãããï¼ ã¨ã´ãæãã¦ãããï¼ çãã ã¼ãã¼ã¨ãããã¨ã§åæã¯ã³ãã© http://github.com/briandfoy/mastering-perl/tree/master ãã¹ã¿ãªã³ã°Peâ¦
scriptdist
tied VARIABLE ã§ï¼ãã®å¤æ°ã«é¢é£ä»ãããã¦ãããªãã¸ã§ã¯ããå¾ããã tied($var)->method; # STORE()/FETCH() ã¿ãããªãã®ã§ãªãã¨ãç´æ¥å¼ã¹ã
perldoc -f oct ã§ï¼"0x", "0b" ã渡ããã®ã¯è¦ãã¦ãªãã£ã oct EXPR oct Interprets EXPR as an octal string and returns the corresponding value. (If EXPR happens to start off with "0x", interprets it as a hex string. If EXPR starts off with "â¦
perldoc perlpodspec Pod::Simple Test::Pod Test::Pod::Coverage
Data::Dumper YAML DBI ãããªãã¨ã
Log::Log4perl
$!(ã·ã¹ãã ã¨ã©ã¼)ã¯ï¼dualvar ã $! ã¯ï¼$!{$!} ã¨ãã¦åå¨ããã®ã§ï¼$! == ENOENT ã $!{ENOENT} ã¨æ¸ããããã*1 $ perl -e 'for ($!=1; $! <=102;$!+=1){printf"%d: %s\n", $!, $!}'|head -2 1: 許å¯ããã¦ããªãæä½ã§ã 2: ãã®ãããªãã¡ã¤ã«ããã£â¦
constant Readonly Getopt::Long AppConfig Config ã¢ãã³Perl å ¥éã 㨠MooseX::Getopt
Hook::LexWrap èãæ¹ããª
ãããä¸é£ï¼AUTOLOAD() -> *{$AUTOLOAD} = sub { ... }; -> goto &{$AUTOLOAD}; http://hop.perl.plover.com/
Firefox 3.0.7 ã«ã¦ï¼hatena2 ç³»ã®ãã¶ã¤ã³ã®ãµã¤ããã¼ãå ¥ããªããªã£ãã®ã§ï¼ã¨ãããã以ä¸ã追å .sidebar { margin-left: -222px; /* å¾®å¦ã«å ¥ããªããªã£ã */ } ãããæ©ã«Firebug ã¨ã Web Developper [æ¥æ¬èªç] ãªã©ãå ¥ããï¼ä½µããã¦èªã¿ãã ãâ¦
my $global; our $global; ã¨ããã¨è¦åãåºãï¼(perl 5.10.0 changes 25179) ã·ã³ãã«ãã¼ãã«ã¯hash ã®ããã«æ±ããã¨ãã§ããï¼(keys, delete ãªã©ã®è¿°èªãé©ç¨ã§ãã) åã°ããã§ã¨ã¤ãªã¢ã¹ããããããï¼(ç¡åãµãã«ã¼ãã³ã«ååãä»ããã) $ ./p142.pâ¦
B::Deparse éè¦(ã¤ã¡ã¼ã¸ã¨ãã¦ã¯ï¼cc -E ã¿ãããª) Perl::Critic ãã¼ã è¦ç´ã¨ãããã°ããã«æ²¿ã£ãããããã¡ã¤ã«ã¨ãæ¸ãããªãï¼ $ perl -MO=Deparse -naF: -ple '$_=$F[2]' BEGIN { $/ = "\n"; $\ = "\n"; } LINE: while (defined($_ = <ARGV>)) { chomp $_;</argv>â¦
Devel::SmallProf ã試ãã¦ã¿ã $ perl Makefile.PL $ make; make test $ ( cd blib && find . -type f \! -name .exists ) $ ( cd blib && find . -type f \! -name .exists \ | cpio -pdmuv ~/module/common/perl-devel-smallprof-2.02 ) $ perl -I$HOME/mâ¦
Perl Debugged Pro Per Debugging èªåã§èª¿ã¹ã¾ãã§ãï¼
æ£è¦è¡¨ç¾ã«ããæ±ææ´æµæ©è½ãç¡å¹å use re 'taint' ã¯ããã©ã«ã㧠system { $args[0] } @args éæ¥ãªãã¸ã§ã¯ãè¨æ³ perldoc -f exec $ perl -we 'system {$ARGV[0]} @ARGV' 'echo aaa' Can't exec "echo aaa": ãã®ãããªãã¡ã¤ã«ããã£ã¬ã¯ããªã¯ããã¾â¦
-DDEBUGGING ãªãã·ã§ã³ä»ãPerl ãæ©éä½ã£ã $ sh Configure -de -Dprefix=$HOME/module/perl-5.10.0-d -DDEBUGGING 2> c.err | tee c.log $ make 2> m.err | tee m.log $ make test 2> mt.err | tee mt.log $ make install
6.1 ãã³ããã¼ã¯ãã¹ãã®çè«ã¯ï¼è¯ããã¨ãè¨ã£ã¦ãã¨æãï¼ Devel::Peek - ã§è©³ããè¦ãã®ãBench ãããããã«å¿ è¦ã ããï¼ ãã®ç« ã¯ï¼èªã¿ç©çã«ãããããï¼ãã¹ã¿ãªã³ã°Perl
ãªããpermalink ãæ¸ãã®ãã ããã£ãã®ã§æ¸ããï¼ lisp ã«ã¡ãã£ã¨æ £ãã¦ããæ°ãããï¼ (defun my-hatena-convert-cpan () "ã«ã¼ã½ã«ä»è¿ã®ã¢ã¸ã¥ã¼ã«åãcpan URLã«å¤æããã" (interactive) (my-hatena-get-near-word 'my-hatena-convert-cpan-1)) (deâ¦
ã¨ãããã¨ã§ãã¤ãã®åç¥ã§ãï¼ ããã£ã¢ãã¼ã¯ï¼æ¨ææ¥ã«æ»ã£ã¦ãã¾ããï¼ æ°è»½ã«åå ãã¦ãã ããï¼ PDF ãå°å·ãã¦ããã°ã¿ãã§åå ã§ãã¾ããï¼ ãCSNagoya SICPåå¼·ä¼ ç¬¬08åãæ¥æï¼ 2009/04/02ï¼æ¨ï¼ 19:30ã21:30 å ´æï¼ ããã£ã¢ãã¼ã¯å åå¤å±å¸â¦
ãã¹ã¿ãªã³ã°Perl ãã¨ããããè²·ããããªï¼ã¨æã£ã¦ã¿ãï¼O'REILLY æ°ã æ¬æ¸ã¯ãPerlæ§æã®åºæ¬ãæåãããåãã¦ã®Perlããåå©ç¨å¯è½ãªPerlã½ã ãã¦ã§ã¢ãä½æããæ¹æ³ãæãããç¶ã»åãã¦ã®Perlãã«æ¬¡ã3 çªç®ã®æ¸ç±ã¨ ãã¦ä½ç½®ä»ãããããã®ã§ããâ¦
ããåã¯ï¼åå è é¶åã®è¨é²æ¨¹ç«ãã¨ãã¤ãã¤ãã ã¨ãããï¼åç¥ãé ãã£ãæçºããã¨æãã¾ãã ãããåçææã«ãã¦ï¼æ¬¡åã®äºå®ãå ã«æ¸ã 4/2(æ¨) ã¢ã¼ãã㢠第äºç 修室 19:30 ã 21:30 ã®äºå®ï¼ ããããã°å æ¥ï¼ãã©ããé£ã¹ã«è¡ããã¨æã£ããï¼ç§»â¦
ãã¤ãã®æ¨æãããªãã¦ãã¿ã¾ããï¼ä»¥ä¸åç¥ï¼ãCSNagoya SICPåå¼·ä¼ ç¬¬07åãæ¥æï¼ 2009/03/16ï¼æï¼ 19:30ã21:30 å ´æï¼ ããã£ã¢ãã¼ã¯å åå¤å±å¸éå°å¹´æåã»ã³ã¿ã¼(ã¢ã¼ããã¢) 第äºç 修室 URLï¼ http://www.bunka758.or.jp/02shisetsu/02shisetsu_â¦
次åã¯ï¼1ç« ã®åé¡ãæå¾ã¾ã§ããäºå® 3/12(æ¨) ã«æºåä¼ããããã 4 人éã¾ãã¾ãã ããããã¦ãã®äººæ°ãªãé¨å±ãåããªãã¨ãããã¼ã§è¯ãã£ãããã 3/19(æ¨) ã¯é½åãæªããªã æ°å¤è§£æçãªè©±ãåå¼·ã«ãªã£ã æ¥é±ã¯ææã«ãªãããï¼ã¨ããããå ´æã確â¦
remote 㨠branch ã®é¢ä¿ãããã£ã¦ãªãæ°ãããï¼ $ git remote add origin [email protected]:clairvy/XXX.gitã¨ããï¼ãããã¾ããªãã¨ãè¨ã£ã¦ã¡ãé§ç®ãªæ°ãããï¼ãã®è¾ºã¨ãè¦ã¦ããï¼git remote add 㨠git push, git branch -r ããããã°è¯ãæ°ããã¦â¦
ã¡ã¼ã«ãããã³ãã¬ãã³ãããCSNagoya SICPåå¼·ä¼ ç¬¬6åãæ¥æï¼ 2009/03/05ï¼æ¨ï¼ 19:30ã21:00 å ´æï¼ å¥³æ§ä¼é¤¨ 第äºå室 URLï¼ http://www.city.nagoya.jp/kurashi/shisetsu/gakkou/shougai/jyoseikan/ åå è²»ï¼ ç¡æ å®å¡ï¼ 15å 宿é¡ï¼ åé¡1.34ããåâ¦