backup that module list

Posted by scottk on January 15, 2007 in Perl, Programming, Sysadmin |

One of the biggest pains in the ass for me is upgrading perl manually and trying to get all the modules back in. I found this handy dandy post which shows off the following method.

# Backup your current module list
perl -MCPAN -e autobundle
# That will create a file with a name like
# /root/.cpan/Bundle/Snapshot_yyyy_mm_dd_00.pm

perl -MCPAN -e ‘install Bundle::Snapshot_yyyy_mm_dd_00’ | tee \
perl_module_upgrade_results.txt

Copyright © 2006-2024 SimpIT.com All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.