Perlã§ã¤ã³ã¹ãã¼ã«ããã¦ããã¢ã¸ã¥ã¼ã«ãå ¨é¨ãªã¹ãã¢ãããã
[twitter:@fujiwara] ããã®ããã
- æ°ããPerlã«ä»ã¾ã§ä½¿ã£ã¦ãã¢ã¸ã¥ã¼ã«ãã¾ã¨ãã¦ã¤ã³ã¹ãã¼ã«ãã - é æ¥è¨ ã¯ã¦ãªæ¯åº
- ExtUtils::Installedã§ç¾å¨ã¤ã³ã¹ãã¼ã«ããã¦ããã¢ã¸ã¥ã¼ã«ããcpanfileãä½ã
ããã¼ã¹ã«ã¡ãã£ã¨å¼ã£ã¦ã¢ã¸ã¥ã¼ã«ããªã¹ãã¢ããããã¹ã¯ãªãããæ¸ãã¦ä½¿ã£ã¦ããã§ãããcore ã¢ã¸ã¥ã¼ã«ããªã¹ãã¢ããããã¦ãªãã£ãã®ã§ããããã対å¿ããã®ãä¸ãã¾ããã®ã§ã©ããã¿ãªãã¾ã使ããã ããã¾ãã
åºåãã©ã¼ãããã¯ããã¼ã¸ã§ã³åºå®ãª cpanfile 㨠Perl ã®ããã·ã¥ã®2ã¤ã§ãã
Carton使ã£ã¦ãªããã©ãåãã¢ã¸ã¥ã¼ã«ãåããã¼ã¸ã§ã³ã®ã¢ã¸ã¥ã¼ã«ãä¸å¼ãæ°ç°å¢ã«ããã£ã¨ã¾ãã£ã¨å ¥ãããï¼ã¨ãã£ã¦ã¨ãã«ä¾¿å©ãã¨æãã¾ãã
èè¶³
perlã¨core moduleã®ãã¼ã¸ã§ã³ã¯ãModule::CoreList ã«å«ã¾ãã corelist ã³ãã³ãã§ç¥ããã¨ãã§ãã¾ãã
### Perl 5.16.1ã«å«ã¾ããCarpã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³ã調ã¹ã $ corelist -v 5.16.1 Carp Carp 1.26 ### Perlã«å«ã¾ããCarpã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³ããPerlã®ãã¼ã¸ã§ã³ãã¨ã«ãªã¹ãã¢ãããã $ corelist -a Carp ... v5.8.3 1.01 v5.8.4 1.02 v5.8.5 1.03 ...
便å©ãªã®ã§ãææ°ã®Module::CoreListãèªåã®ç°å¢ã«å ¥ãã¦ããã¨ããã¨æãã¾ãã
ãã¨ãã¤ã³ã¹ãã¼ã«ããã¦ããPerlã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³ããã¹ãç¥ãã«ã¯ããã®ãããªã·ã§ã«é¢æ°ã使ãã¨ä¾¿å©ã§ãã
$ pmver Carp 1.26 /home/hirose31/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm $ pmver -cd Carp 1.26 /home/hirose31/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm $ pwd /home/hirose31/perlbrew/perls/perl-5.16.3/lib/5.16.3
追è¨
pmtoolsã¨ãã便å©ãã¼ã«è©°ãåãããããããã§ãï¼ï¼