Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I'm not sure whether you're confused about the terms you're using.

A CGI header isn't really something that exists .. there's an HTTP header which icnludes things like information about the cookie updates, and there's also whatever appears at the top of the web page, sy, a menu or something like that.

If you're talking about the first kind, then your CGI should be able to control what HTTP headers go out -- usually you're using the venerable CGI or something more advanced like CGI::Application so that you don't have to get your hands dirty actually sending out those kinds of headers yourself.

If you're talking about some kind of menu at the top of your page, then a templaet is probably what you're looking for .. I can highly recommend Template::Toolkit (and for the dyslexics in the audience, that's not Toolkit::Template) (see also the web site).

Think about those two options and see if you can give us more information on what you're looknig for. it's difficult to answer correctly if the question is not clear.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds


In reply to Re: CGI header by talexb
in thread CGI header by Anonymous Monk

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



  • 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.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found