Here is the difference:
./Collections # is where scripts live and is where base_men
+u looks for menu items
./files/data/Collections # is where data lives and is not where base_m
+enu looks for menu items
Taking the data outside of individual scripts means I need to figure out how I am going to rewrite base_menu to find items to add to my site menu that will work for all the index files (see below).
./Collections/index.pl
./Fandom/index.pl
./Fandom/Crossovers/index.pl
./Fandom/Crossovers/Big_fake_companies/index.pl
./Fandom/Crossovers/Westphall_crossovers/index.pl
./Fandom/Fictional_family_trees/index.pl
./Fandom/The_Riftwar/index.pl
./Fandom/Xanth/index.pl
./Miscellany/index.pl
./Miscellany/Geeky_thoughts/index.pl
./Miscellany/Political_opinions/index.pl
./Movies/index.pl
./Role_playing/index.pl
./Role_playing/Locations/Afma/index.pl
./Role_playing/Locations/index.pl
./Role_playing/Magic_items/index.pl
./Role_playing/Miscellany/index.pl
./Role_playing/Monsters/index.pl
./Role_playing/Player_characters/index.pl
./Role_playing/Reference_tables/index.pl
./Writing/index.pl
./Writing/Erotic_fiction/index.pl
./Writing/Fan_fiction/index.pl
./Writing/Poetry/index.pl
The data for those indexes will be in the following.
./files/data/Collections/
./files/data/Fandom/
./files/data/Fandom/Crossovers/
./files/data/Fandom/Crossovers/Big_fake_companies/
./files/data/Fandom/Crossovers/Westphall_crossovers/
./files/data/Fandom/Fictional_family_trees/
./files/data/Fandom/The_Riftwar/
./files/data/Fandom/Xanth/
./files/data/Miscellany/
./files/data/Miscellany/Geeky_thoughts/
./files/data/Miscellany/Political_opinions/
./files/data/Movies/
./files/data/Role_playing/
./files/data/Role_playing/Locations/
./files/data/Role_playing/Locations/Afma/
./files/data/Role_playing/Magic_items/
./files/data/Role_playing/Miscellany/
./files/data/Role_playing/Monsters/
./files/data/Role_playing/Player_characters/
./files/data/Role_playing/Reference_tables/
./files/data/Writing/
./files/data/Writing/Erotic_fiction/
./files/data/Writing/Fan_fiction/
./files/data/Writing/Poetry/
This is what I am grappling with in my head.
My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.8.8 on web host.
Version control is a non-issue, I do not use it.
No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena
-
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.
|