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!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||