Hi Everyone, thanks for the feedback. It really sounds like CGI.pm is what I should be using. However, let me provide some more details of my task, and perhaps it will make more sense.
1. Build an array of files in a directory
2. print the array of files
3. modify the print so it displays links to them
4. Modify this cgi program so it allows parameters to be passed and displayed. This is apparently where I must use cgi-lib.pl.
I went to the home page of cgi-lib.pl and from the example I saw there, I figured that cgi-lib.pl is a library with a bunch of sub routines that can help me get input.
Sorry for such elementary questions. I'm new to programming and perl. Is there a book besides the llama that you guys can recommend for a beginner?
Thanks a bunch!
John
-
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.
|