Re: Translating newlines to HTML paragraphs

2002-05-22 Thread Matthew Weier O'Phinney
I've gone through and read all the other posts in reply to this, and they all seem to ignore a very simple solution. First: strip off the \r\n: s/\r\n/\n/sg Then look for the pattern \n\n (which would indicate the existence of an empty line. For example: "Some paragraph text\n\nA new paragraph")

Re: trouble setting up...

2002-05-06 Thread Matthew Weier O'Phinney
On Sat, 04 May 2002 20:35:57 -0400, Superjeremy wrote: > I just upgraded my os and I installed apache to work on some of my > scripts. > > I put the .pl files into the cgi-bin directory and chmod 755 them. Check your httpd.conf and make sure you have either 1) set perl to handle .pl files (via a

Re: problem with #exec

2002-04-28 Thread Matthew Weier O'Phinney
On Sat, 27 Apr 2002 22:11:18 -0400, Cms wrote: > I have the on our web page, > this error is display were the tag is: > [an error occurred while processing this directive] on the website, > and this is the error in the log file; > > [Sat Apr 27 20:37:18 2002] > httpd: exec used but not allowed >

Re: Some more newbie Questions!

2002-04-28 Thread Matthew Weier O'Phinney
On Sun, 28 Apr 2002 00:53:37 -0400, Jamie wrote: > I Want to do something like below, but the SetupCitiesComboBox doesn't > work as expected in the table. It displays a combo box before the table > is constructed, NOT in it, but in the block it just displays a 1. > The SetupCitiesComboBox sub just

Re: SSI

2002-04-27 Thread Matthew Weier O'Phinney
On Fri, 26 Apr 2002 10:58:32 -0400, Mat Harrison wrote: > if i have an html document and I include a CGI script to display some > html do I have to have and tags in the include of can it > insert the body into that of the html doc? I'm not an expert on using SSI, but my understanding is that it

Re: help about perl -pi -e

2002-04-25 Thread Matthew Weier O'Phinney
I'm not quite sure what you're trying to do with this... but from what you've provided, the regular expression you wrote will only remove text matching "sub html_base" on a single line -- and not even the newline at the end. The '-pi' switches will grab a single line at a time from the cur

RE: CGI.pm == ugly source output

2002-04-15 Thread Matthew Weier O'Phinney
On Mon, 15 Apr 2002 17:53:50 -0400, Don Krause wrote: > How about: > > use CGI::Pretty WOW! I didn't know this existed -- or where to look! Thanks. By the way, from looking at the perldoc for the module, I'm still uncertain of how to invoce it -- is it INSTEAD of use CGI; or IN ADDITION to

CGI.pm == ugly source output

2002-04-15 Thread Matthew Weier O'Phinney
I've been using CGI.pm for a few months now, and whileI'm thrilled with what I can do with it, I'm terribly frustrated with the HTML output it creates -- not the way the browser parses it, but the source output. I often need to debug what was sent, and I hate going through these HUGE lines of tex

Re: multivalued checkbox

2002-03-05 Thread Matthew Weier O'Phinney
s -- but I'd like to do something like this if possible. Thanks! Matthew In article <[EMAIL PROTECTED]>, "Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote: > I am attempting to build a simple webmail application using the > Mail::IMAPClient module. > >

multivalued checkbox

2002-03-05 Thread Matthew Weier O'Phinney
I am attempting to build a simple webmail application using the Mail::IMAPClient module. I have made my message list a form, and beside each message is a checkbox. At the bottom of the list are a number of radio buttons for things such as "Mark as Read", "Delete", "Copy", and "Move". The checkb