1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
8 <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9 <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
12 <title>Status for Andrew DeFaria: CPAN Bundles and PREFIX</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15 <link rel="prev" href="http://defaria.com/blogs/Status/archives/000705.html" title="Pre-shared ssh keys" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/000711.html" title="Cygwin, ssh, smb home directories" />
19 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
20 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
21 xmlns:dc="http://purl.org/dc/elements/1.1/">
23 rdf:about="http://defaria.com/blogs/Status/archives/000709.html"
24 trackback:ping="http://defaria.com/mt/mt-tb.cgi/93"
25 dc:title="CPAN Bundles and PREFIX"
26 dc:identifier="http://defaria.com/blogs/Status/archives/000709.html"
27 dc:subject="General Dynamics"
28 dc:description="One can maintain a list of CPAN Perl modules that they wanted installed by using Bundles. Then you can use cpan(1) to install them and use PREFIX to install them to an alternate location, like a vob, so that they..."
30 dc:date="2009-04-20T15:58:40-06:00" />
37 <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
39 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
41 <div id="container-inner" class="pkg">
44 <div id="banner-inner" class="pkg">
45 <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
46 <h2 id="banner-description">Searchable status reports and work log</h2>
51 <div id="pagebody-inner" class="pkg">
53 <div id="alpha-inner" class="pkg">
55 <p class="content-nav">
56 <a href="http://defaria.com/blogs/Status/archives/000705.html">« Pre-shared ssh keys</a> |
57 <a href="http://defaria.com/blogs/Status/">Main</a>
58 | <a href="http://defaria.com/blogs/Status/archives/000711.html">Cygwin, ssh, smb home directories »</a>
62 <div class="entry" id="entry-709">
63 <h3 class="entry-header">CPAN Bundles and PREFIX</h3>
64 <div class="entry-content">
65 <div class="entry-body">
66 <p>One can maintain a list of CPAN Perl modules that they wanted installed by using <a href="http://search.cpan.org/dist/CPAN/lib/CPAN.pm#Bundles">Bundles</a>. Then you can use <a href="http://www.manpagez.com/man/1/cpan/">cpan(1)</a> to install them and use <a href="http://www.perlmonks.org/?node_id=398722">PREFIX</a> to install them to an alternate location, like a vob, so that they can be more easily shared.</p>
68 <p>Here's an example of a bundle:</p>
71 package Bundle::MyBundle;
73 use vars qw($VERSION);
74 $VERSION = '1.000'; # use 3 digits to minimize confusion with the
83 Bundle::MyBundle - Bundle of CPAN modules that I use
87 perl -MCPAN -e 'install Bundle::MyBundle'
98 <div id="more" class="entry-more">
102 <p class="entry-footer">
103 <span class="post-footers">Posted by on April 20, 2009 3:58 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000709.html">Permalink</a>
108 <div class="trackbacks">
109 <h3 id="trackback" class="trackbacks-header">TrackBack</h3>
110 <div id="trackbacks-info">
111 <p>TrackBack URL for this entry:<br />http://defaria.com/mt/mt-tb.cgi/93</p>
113 <div class="trackbacks-content">