2010-01-01ãã1ã¶æéã®è¨äºä¸è¦§
perlçirbã perlshã¨ããã®ããããã Devel::REPLã®æ¹ãè¯ããã ãã ããcpanã§ç´æ¥ã¤ã³ã¹ãã¼ã«ãããã¨æã£ãã Data::Dump::Streamerã§testãéããªãã ãã¡ããåç §ããã¨ã ãã±ã¼ã«ã®åé¡ãããã®ã§forceãã¡ããã¾ããã cpan -f Data::Dump::Strâ¦
my $var = "hogehoge123"; $var =~ s/hoge/fuga/g; ãã®ããã«Perlã®ä¸è¬çãªç½®æãè¡ãã¨å¤æ°ãã®ãã®ãç½®æããã ããããç½®æå¾ã®çµæãå¥å¤æ°ã«æ ¼ç´ãããå ´åãããã ãã®å ´åã¯ä»¥ä¸ã®ããã«è¨è¿°ãã (my $tmp_var = $var) =~ s/hoge/fuga/g;
Lingua::JA::Regular::Unicodeã¢ã«ãã¡ãããï¼ã«ã¿ã«ãã®åè§âå ¨è§å¦çãè¡ãã 平仮åâã«ã¿ã«ãå¤æãå¯è½ã 以ä¸podå¼ç¨ã use Lingua::JA::Regular::Unicode qw/regular/; alnum_z2h("Aï¼"); # => "A1" hiragana2katakana("ã»ã"); # => "ãã²" space_zâ¦
ã¨ããããé©å½ã«èªåã®åå¼·ã¡ã¢ãè¨ãã¦ããäºå®ã§ãã ãã¶ãã¾ã¨ã¾ããªã