For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > September 2004 > Re: CGI.pm : Handling Carriage Returns from textarea()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: CGI.pm : Handling Carriage Returns from textarea()
Robert Page IV

2004-09-12, 8:55 pm

Considering I am not parsing HTML, I am actually trying to 'generate'
the text formatting
I want in a HTML page, there is no need for a HTMl parser that I see.

Robert

On Sep 9, 2004, at 7:30 PM, Gunnar Hjalmarsson wrote:

> Chris Devers wrote:
>
> Maybe.
>
> The reason for my remark is that I have noticed that quite a few Perl
> programmers start yelling "HTML::Parser" or "XML::Parser" etc. as soon
> as they get sight of a couple of angle brackets. Personally I have
> never had a reason to consider the use of such a module, and I don't
> question that it's advisable to use them when you are about to parse a
> web page that you have picked up from the web. However, there are
> cases with more trivial tasks where I have a feeling that you might
> overdo it by using a parsing module. (Provided, of course, that you
> know regular expressions well enough.)
>
> And in this case there wasn't even a parsing problem involved. ;-)
>
> --
> Gunnar Hjalmarsson
> Email: http://www.gunnar.cc/cgi-bin/contact.pl
>
> --
> To unsubscribe, e-mail: beginners-cgi-unsubscribe@perl.org
> For additional commands, e-mail: beginners-cgi-help@perl.org
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>

Robert C. Page IV

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com