Skip to content

Commit 9f0c4a5

Browse files
authored
Merge pull request #2 from Grinnz/patch-2
Mention make dist to create CPAN distribution tarball
2 parents 589e854 + 8296f78 commit 9f0c4a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/tutorial-english.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,6 +1940,8 @@ <h4>step 2) files in a CPAN distribution</h4>
19401940

19411941
Your module is ready to be used and it is already used, but is not installable by a CPAN client nor can be indexed by a CPAN indexer at the moment. Read the short but complete description of possible files at <a href="https://www.perlmonks.org/index.pl?node_id=1009586">What are the files in a CPAN distribution?</a>
19421942

1943+
To create a properly structured CPAN distribution you must run <code>perl Makefile.PL</code> then <code>make dist</code>, this will create a tarball in the current directory that you can share and install using a CPAN client, or even upload to CPAN.
1944+
19431945
Following tests are not needed to install or use your module but to help you spotting what can be wrong in your distribution.
19441946

19451947

@@ -2118,7 +2120,7 @@ <h4>step 5) some README and final review of the work</h4>
21182120
<a id="daysevenstep6"></a>
21192121
<h4>step 6) try a real CPAN client installation</h4>
21202122

2121-
It's now time to see if our module can be installaed by a cpan client. Nothing easier: if you are in the module folder just run <code>cpan .</code> and enjoy the output (note that this command will modify the content of the directory!).
2123+
It's now time to see if our module can be installaed by a cpan client. Nothing easier: if you are in the distribution folder extracted from a tarball created by <code>make dist</code>, just run <code>cpan .</code> and enjoy the output (note that this command will modify the content of the directory!).
21222124

21232125

21242126

0 commit comments

Comments
 (0)