which modules to use?

2004-09-06 Thread Ing. Branislav Gerzo
Hi all, I am really new to CGI, my 1st question is, which Perl modules should I use for creating XHTML documents ? Write me, which one are good, where I can read more about this... Thanks. /Brano -=x=- Skontrolované antivírovým programom NOD32 -- To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

CGI.pm : Handling Carriage Returns from textarea()

2004-09-06 Thread Robert Page IV
I am trying to write a simple weekly entry CGI script and I am trying to capture a the string returned from a textarea, assign the value to either a variable or array and output it to a web page with print or printf or sprintf/print. When I do this, apparently carriage returns are either not cap

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-06 Thread Sean Davis
White space (including carriage returns) is ignored by HTML, generally. Try surrounding your text output by the tag (preformatted text). Does this do what you want? Sean On 9/6/04 20:10, "Robert Page IV" <[EMAIL PROTECTED]> wrote: > I am trying to write a simple weekly entry CGI script and I

Constructing form for SQL query dynamically

2004-09-06 Thread Sean Davis
I have a database of values, each of which belongs to one of several categories. I want to allow the user to choose one to several category/value pairs. In other words, I would like to be able to do stuff like A>23, B<5, and C>7. I can do this with three list-boxes and corresponding text boxes,

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-06 Thread Gunnar Hjalmarsson
Robert Page IV wrote: I am trying to write a simple weekly entry CGI script and I am trying to capture a the string returned from a textarea, assign the value to either a variable or array and output it to a web page with print or printf or sprintf/print. When I do this, apparently carriage returns

Re: which modules to use?

2004-09-06 Thread Chris Devers
On Mon, 6 Sep 2004, Ing. Branislav Gerzo wrote: I am really new to CGI, my 1st question is, which Perl modules should I use for creating XHTML documents ? Write me, which one are good, where I can read more about this... I believe that recent versions of CGI.pm should emit valid XHTML, which is

RE: which modules to use?

2004-09-06 Thread Charles K. Clarkson
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: : I am really new to CGI, my 1st question is, which : Perl modules should I use for creating XHTML : documents? Write me, which one are good, where I : can read more about this... CGI.pm is a good starting point. Some of us later abandon it for a t

RE: CGI.pm : Handling Carriage Returns from textarea()

2004-09-06 Thread Charles K. Clarkson
Robert Page IV <[EMAIL PROTECTED]> wrote: : I am trying to write a simple weekly entry CGI script : and I am trying to capture a the string returned from : a textarea, assign the value to either a variable or : array and output it to a web page with print or printf : or sprintf/print. : : When I