It doesn't matter where you put the module, but yes those procedures are correct. However, you can specify the version you want using the CPAN module (perl -MCPAN -e 'shell') through the install command. From man CPAN:
...if you would like to install version 1.23_90, you need to know wher
+e the distribution file resides on CPAN relative to the authors/id/ d
+irectory. If the author is BAR, this might be BAR/Foo-1.23_90.tar.gz;
+ so you would have to say
install BAR/Foo-1.23_90.tar.gz
The first example will be driven by an object of the class CPAN
+::Module, the second by an object of class CPAN::Distribution.
"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|