Markdown.pm: make Markdown module available to use
commit7ddadb3c06828d4bc36a3de8fcf12b651e7855d2
authorKyle J. McKay <mackyle@gmail.com>
Sun, 28 Feb 2021 17:13:35 +0000 (28 10:13 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 28 Feb 2021 17:13:35 +0000 (28 10:13 -0700)
tree4219c4b16ed11d5c3b725e911561908b7380a20c
parent5207385db79e97e258e6d6ff038044e9e9c8b192
Markdown.pm: make Markdown module available to use

In order for the "Markdown" module to be available to "use", this
must succeed:

    use Markdown;

But it must succeed in two different environments:

 1) the pre-install environment
 2) the post-install environment

In the first case, that means a symbolic link into the checked out
markdown.git project.  In the second case, that means installing a
symbolic link into $Girocco::Config::basedir that points to the
installed copy of Markdown.pl.

Since "use" statements are processed even when just using the `perl
-c` command to check syntax, failing to address the first case would
make it very difficult to check syntax prior to installation or use
any module during installation that referenced the Markdown module
even if the Markdown functions were not actually being called.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Markdown.pm [new symlink]
install.sh