Not your computer? Use a private browsing window to sign in. Learn more
Not your computer? Use a private browsing window to sign in. Learn more
å é±å ¬éãããããããWebãµã¼ãã¹ã使ã£ããµã³ãã«ãµã¤ããã·ã³ãã«å®¿æ¤ç´¢ãã«ã¦ãperlã®ã½ã¼ã¹ã³ã¼ããä¸ç·ã«å ¬éãã¦ã¿ãã®ã§ããããã£ããèå³ãæã£ã¦ãããæ¹ããåãåãããé ãã¾ããã cgiãå®è¡ããããã¨ããã以ä¸ã®ã¨ã©ã¼ãåºã¦ãã¾ãã¾ãã: Can't locate Template.pm in @INC (ä¸ç¥) at search.cgi line 5 ... Template.pm ã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããã¦ãªããï¼ã£ã¦æããã¦ãã¾ãããã¼ãã³ã¼ãå ¬éããéã¯å¿ è¦ãªCPANã¢ã¸ã¥ã¼ã«ãä¸ç·ã«æ·»ä»ãã¨ãã¦ãããã»ãã親åãªã®ããªï¼ããã§ãããé¢åããããç¡çãããªãã»ã»ã»ã Webã§ãã¼ã¯ã¼ã "CPAN" ãæ¤ç´¢ããã¨åºã¦ããCPANã®ä½¿ãæ¹ç³»ãã¼ã¸ã®å¤ãã¯ããã®ãµã¼ãã® root 権éãæã£ã¦ããåæã§ããµã¼ãã®å ±éã©ã¤ãã©ãªä¸ã«CPANã¢ã¸ã¥ã¼ã«ã追å ããæ¹æ³ãç´¹
nipotanããã®ã¯ã¦ãã®ãã¯ãã livedoor ã¯ãªããã«ã¯ãªãããã¦ã¿ã件ã®ãããã使ç¨æ³ããã¨ãããèªåèªèº«ãPerlã®ã©ç´ 人ãªã®ã§ãã£ã¦ã¿ããã¨ãæ¸ãã ããOSã¯FedoraCore5ã§ãï¼Perl使ãã®äººããã¿ã¦ã³ã©ã£ã¦å 容ããã£ãããææä¸ãããä¿®æ£ãã¾ããï¼ ããã©ã«ãã¤ã³ã¹ãã¼ã«ã®Perlã§ã¯ã¢ã¸ã¥ã¼ã«ã足ããªãã®ã§ã¤ã³ã¹ãã¼ã«ããã $ sudo perl -MCPAN -e 'install WWW::Mechanize' $ sudo perl -MCPAN -e 'install Class::Accessor::Fast'åCPANã®å ´åã¯æåã«å¯¾è©±ã§ããããèãããããã©ãããã»ã©é£ãã質åã¯ãªãã®ã§ãã£ã¨èªãã§çãã¦ããã°è¯ãããã次ã«nipotanããã®Perlã¢ã¸ã¥ã¼ã«ãä½æãããä»»æã®ãã£ã¬ã¯ããªã§ $ vi ./H2L.pmã¨ããã£ã¦ããã®ã³ã¼ã
livedoor ã¯ãªããã¨ãããã½ã¼ã·ã£ã«ããã¯ãã¼ã¯ããªã¼ãã³ãã¦ããã®ã§ãã¯ã¦ãã¦ã¼ã¶ã®èªåã¨ãã¦ã¯ãã¯ã¦ãã®ãã¯ããå ¨é¨ livedoor ã¯ãªããã«ãã¼ã¿ç§»è¡ãåºæ¥ãããªãã¨ãæã£ãã ãªã®ã§ãã¯ã¦ããã livedoor ã¯ãªããã«ç§»ãã®ãä½ã£ã¦ã¿ãã ã©ãã livedoor ã¯ãªããã«ã¯ã¾ã API çãªãã®ãç¨æããã¦ããªãã£ã½ãã®ã§ãWWW::Mechanize ã使ã£ã¦ããã©ã¼ã ãã post ããã¨ããããã¾ã綺éºãããªãæ¹æ³ãåã£ã¦ã¿ãã ã§ãWebService::SyncSBS::D2H ã«ãããã£ã¦ WebService::SyncSBS::H2L ã¨ããååã«ãããã¨æã£ããã©ãã¡ã½ããã¨ãäºæãããããã§ããªãããã¯ã¦ã㯠Web Service ã¨å¼ã¹ãããlivedoor ã¯ãªããã¯ããã§ã¯ãªãã®ã§ãWWW::SyncSBS::H2L ã¨ããååã«ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}