The first 5 require statements produce the following:
<HTML> <HEAD> <TITLE>Various :: Test Node #1</TITLE> <STYLE TYPE="text/css"> BODY {background: white;} H2.std-header {color: white; background-color: #006699;} H5.std-header {color: white; background-color: #006699;} P.std-title {color: #006699; background-color: #CCCCCC;} A {color: #006699;} A.header {color: #FFFFFF} EM {color: #006699;} KBD {font-family: serif; color: #006699;} PRE.code {color: #006699;} STRONG {color: #006699;} <STYLE> </HEAD> <BODY> <CENTER> <H2 CLASS="std-header">Various :: Test Node #1 <H5 CLASS="std-header"> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"><TR> <TD WIDTH="20%"><A HREF="/shock/index.pl?NodeID=1" CLASS="header">Main +</A></TD> <TD WIDTH="20%"><A HREF="/" CLASS="header">Music</A></TD> <TD WIDTH="20%"><A HREF="/shock/index.pl?NodeSection=linux" CLASS="hea +der">Linux</A></TD> <TD WIDTH="20%"><A HREF="/shock/index.pl?NodeSection=perl" CLASS="head +er">Perl</A></TD> <TD WIDTH="20%"><A HREF="/family/index.php" CLASS="header">Family</A>< +/TD> <TD WIDTH="20%"><A HREF="/shock/links.php" CLASS="header">Links</A></T +D> </TR></TABLE> </H5> </H2> </CENTER>
I realize using the require statements introduce certain maintainability issues. My ultimate goal is to be able to make a change in one place and have that change reflected throughout the site. My current approach may not be "the best way to do it," but as I (attempted to say | said) at the outset, this is more a learning exercise than an actual production system.

If things get any worse, I'll have to ask you to stop helping me.


In reply to (shockme) Re: (Ovid) Re: Command Line Output Different from Output to Browser by shockme
in thread Command Line Output Different from Output to Browser by shockme

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, details, 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, summary, 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.