Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What is cgi-lib.pl and how do I use it?

by johnny0723 (Novice)
on Oct 31, 2005 at 13:36 UTC ( #504254=note: print w/replies, xml ) Need Help??


in reply to Re: What is cgi-lib.pl and how do I use it?
in thread What is cgi-lib.pl and how do I use it?

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
  • Comment on Re: What is cgi-lib.pl and how do I use it?

Replies are listed 'Best First'.
Re^2: What is cgi-lib.pl and how do I use it?
by davorg (Chancellor) on Oct 31, 2005 at 14:31 UTC

    Is this homework? It reads like homework. We don't really like helping people with homework.

    CGI.pm will do all that you need. And probably easier than you would do it with cgi-lib.pl.

    As for a book, Beginning Perl is available online and it includes an Introduction to CGI.

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

      Hi, No this not for homework. I recently moved up from doing support to becoming a software support analyst. Its a learn on the job type of thing and Perl is what I need to learn for most of what I do. I will look into the book you've recommended. Thanks a bunch. -John

        So who is telling you that you must use cgi-lib? Sounds like a dangerous sort of person to have as a colleague or (worse) a boss :)

        --
        <http://dave.org.uk>

        "The first rule of Perl club is you do not talk about Perl club."
        -- Chip Salzenberg

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://504254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2023-12-04 19:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?