2008å¹´07æ05æ¥01:30 ã«ãã´ãªLightweight Languages perl - tie()ã£ã¦ä½ãtieããã®? ç§ã¯ã¿ã¤ãã¾ã¨ãã®ãã ãã£ãããã§ãããPerl 5ã®ä¸ã§ä¸çªå¥½ããªé¢æ°ãtie()ã ã£ãããã¾ãã tieé¢æ°ã¨ã¯ - çææ¥è¨ ããã¨ãè£ã§å¦çãåãããªãã¸ã§ã¯ããã³ã³ã¹ãã©ã¯ãããããã¨ããå¦ççµæãåç §ã§ããããä»£å ¥ãããã®ã«å¯¾å¿ãããã®ãæ ¼ç´åºæ¥ããããã ã¨ããããã§ãtie()ã«ã¤ãã¦èªã£ã¦ãããã¨ã«ãã¾ãããã tie()ã¨ã¯ãªã«ã? ãã°ããããªãã¸ã§ã¯ãã§ã¯ãªããperlã®çµã¿è¾¼ã¿ãã¼ã¿ã¿ã¤ããè£ã§ãªãã¸ã§ã¯ãåããä»çµã¿ãã®ãã¨ã§ããããããªãtieã¨å¼ã°ãããã¨è¨ãã°ãå¤æ°ãæå®ãããã¯ã©ã¹ã«çµã³ã¤ãããããã§ãã è«ãã証æ ãå®éã«è¦ã¦ã¿ã¾ãããã use strict; use warnings; { package MySca
2008å¹´06æ19æ¥21:45 ã«ãã´ãªLightweight Languages perl - use warnings; # -w ã§ãªã㦠æè¿ã¯ããããã«use strict;ããã¦ããªãå®è·µã³ã¼ããç®ã«ãããã¨ãã»ã¨ãã©ãªããªã£ã¦ããã®ã ãã©ãã¾ã æ®ã£ã¦ããã®ãuse warnings;å©ç¨ã以ä¸ã¨ä½µãã¦èªãã§ããã ããã¨å¹¸ãã ã 404 Blog Not Found:perl - use strict; # and be happy -w ã£ã¦ä½? warnings ã£ã¦ä½? ã¾ãã以ä¸ã®ããã°ã©ã ãè¦ã¦ã¿ããã #!/usr/local/bin/perl use strict; sub distance { my ( $a, $b ) = @_; return sqrt( $a**2 + $b**2 ); } print distance(@ARGV), "\n"; % p
ãã®ããã¥ã¡ã³ãã¯ãZend Framework ã«è²¢ç®ãã¦ãã ããéçºè å人 (ãããã¯ãã¼ã ) ã®ããã«ã³ã¼ãã®æ¸å¼ãããã¥ã¡ã³ãä½æã®æéã示ããã®ã§ãã Zend Framework ãç¨ãã¦éçºããã人ãã¡ã«ã¨ã£ã¦ããã®ã³ã¼ãã£ã³ã°è¦ç´ã¯æç¨ã§ãããã ããã«å¾ãã°ãZend Framework ã®ã³ã¼ãã¨ã®ä¸è²«æ§ãä¿ã¦ãããã§ãã ãã®ããã«ã¯ãããã§å®å ¨ãªã³ã¼ãã£ã³ã°è¦ç´ã示ãå¿ è¦ãããã¾ãã 注æ: 詳細ãªã¬ãã«ã¾ã§ã®è¨è¨æéã示ããã¨ä»¥ä¸ã«ã ãããæ¨æºè¦æ ¼ã¨ãã¦ç¢ºç«ãããã¨ã大åã ã¨èãã¦ãã¾ãã Zend Framework ã³ã¼ãã£ã³ã°è¦ç´ã®æéã¯ã ããã¾ã§ ZF ããã¸ã§ã¯ãã§ãã¾ãåã£ã¦ããæ¹éãã¾ã¨ãããã®ã§ãã ãã®ã©ã¤ã»ã³ã¹ã®ãã¨ã§ã ãã®ã¾ã¾ä½¿ç¨ãããªãå¤å°å¤æ´ãã¦ä½¿ç¨ãããªããããã¨ãã§ãã¾ãã ZF ã³ã¼ãã£ã³ã°è¦ç´ã§ã¯ã次ã®ãããªå 容ãæ±ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}