Perlã¨phpã§ãã¡ã¤ã«ã®æ¯è¼ãè¡ã£ã¦ã¿ã¾ããï¼ã¤ã®ãã¡ã¤ã«ã®ä¸è´ããããæ¤è¨¼ããããã°ã©ã ã§ã(å·®åã®åå¾ã¯è¡ãªãã¾ãã)ã 以ä¸ã®é ã«ååã«Perlãå¾åã«phpã§ã®è¨è¿°æ¹æ³ãè¨ãã¦ãã¾ãã Perlã§æ¯è¼ãã phpã§æ¯è¼ãã use File::Compare; my $target_a = "æ¯è¼å¯¾è±¡A"; my $target_b = "æ¯è¼å¯¾è±¡B"; print compare( $target_a, $target_b ); exit; è§£èª¬ï¼ ä¸è´ãã¦ããã° â0â³ ãåºåãã¾ãã ä¸è´ãã¦ããªããã° â1â³ ãåºåãã¾ãã ã©ã¡ããã®ãã¼ã¿ãåå¨ããªããªã©ã¨ã©ã¼ã®å ´å㯠â-1â³ ãåºåãã¾ãã 以ä¸ã®ããã«ã1è¡ç®ã®ã¢ã¸ã¥ã¼ã«åã®å¾ã«âcmpâãæå®ãããã¨ã§ã6è¡ç®ã®âcompareâãçã表è¨ãããã¨ãã§ãã¾ãã use File::Compare qw( cm
{{#tags}}- {{label}}
{{/tags}}