Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by bassplayer (Monsignor)
on Oct 30, 2005 at 04:56 UTC ( [id://503959]=note: print w/replies, xml ) Need Help??


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

From personal experience, I urge you to please follow the advice of our fellow monks and convince your client that should use CGI.pm. If you cannot sway them, then turn around, run like hell and don't look back. No, seriously. :-)

bassplayer

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

Replies are listed 'Best First'.
Re: What is cgi-lib.pl and how do I use it?
by johnny0723 (Novice) on Oct 31, 2005 at 13:36 UTC
    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

      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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found