Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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

In reply to Re^2: Collapsing smaller scripts into a larger one, request for comment by Lady_Aleena
in thread Collapsing smaller scripts into a larger one, request for comment by Lady_Aleena

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (6)
    As of 2021-04-22 13:45 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?