Re: Regex for accepting text and HTML *entities*

2004-09-08 Thread Chris Welch
On Wed, 08 Sep 2004 00:43:44 +0200, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > Chris Welch wrote: > > I have a form and someone submits weird stuff that probably > > shouldn't be in there (but you never know.) This has to be writted > > to a DBM database/ filehandle. > > > > The weird stuff n

HINT: regex coach

2004-09-08 Thread Ing. Branislav Gerzo
Hi, many of us need sometime fast help with regex. I recently found on the web really nice and easy program. Maybe someone of you already know it, for those, who don't it is REGEX COACH, download it from: http://www.weitz.de/regex-coach/ Notes: The Regex Coach is a graphical application for Linu

RE: Month-Year Links....

2004-09-08 Thread Bob Showalter
Greg Schiedler wrote: > Perl v5.6.1 > > Trying to easily create some variable based on the current month and > links to the two previous months. The filename(s) are based on two > digit months MM--Filename. I have the filename part working but > I need some guidancd on creating the MM-.

CGI parameter question

2004-09-08 Thread Sean Davis
I have the following html and CGI subroutine that handles it (uses HTML::Template). I would like to reload the page, switching to another page when the user changes the pull-down menu. This works fine. However, as you can see, there is another parameter, name, that I is included with the

Exchange + any method in Perl for sending mails.

2004-09-08 Thread Anas Perwez
Hi, Any pointer to any Perl module which has got methods to send mail using MS outlook credentials. Is there any such method in Win32::OLE ?? Basically I want to write a basic script for sending mail (using exchange of course ) Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: CGI parameter question

2004-09-08 Thread William McKee
On Wed, Sep 08, 2004 at 09:18:17AM -0400, Sean Davis wrote: > I would like to be able to have the page switch and any other visible > parameters on the page be persistent and visible to the user. I would > also like to be able to use the reset button for the form to reset the > values. Hi S

Re: Exchange + any method in Perl for sending mails.

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, Anas Perwez wrote: Any pointer to any Perl module which has got methods to send mail using MS outlook credentials. What are "Outlook credentials"? What does Outlook do that you need to emulate? Can you not just send mail with one of the usual mail delivery modules? If Outlook is

Re: CGI parameter question

2004-09-08 Thread Sean Davis
William, Thanks for the clarification. This is as I suspected and not hard. I guess I have to do reset on my own, then, as well? Sean On Sep 8, 2004, at 10:46 AM, William McKee wrote: On Wed, Sep 08, 2004 at 09:18:17AM -0400, Sean Davis wrote: I would like to be able to have the page switch and

Re: CGI parameter question

2004-09-08 Thread William McKee
On Wed, Sep 08, 2004 at 11:06:58AM -0400, Sean Davis wrote: > Thanks for the clarification. This is as I suspected and not hard. I > guess I have to do reset on my own, then, as well? Not sure what you mean by "do reset". I have had problems where "smart" browsers cached form values that made i

Re: CGI parameter question

2004-09-08 Thread Sean Davis
Another good point to know. I will try something like that. Sean On Sep 8, 2004, at 11:11 AM, William McKee wrote: On Wed, Sep 08, 2004 at 11:06:58AM -0400, Sean Davis wrote: Thanks for the clarification. This is as I suspected and not hard. I guess I have to do reset on my own, then, as well? N

PHPerl

2004-09-08 Thread Octavian Rasnita
Hi all, Is there a way to embed Perl programs in html like PHP can do? I heard that Perl can be used in ASP files, but I am wondering if there is an Apache module for that task. It would be cool to exist such a thing... Thanks. Teddy -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: PHPerl

2004-09-08 Thread Sean Davis
http://perl.apache.org/embperl/ On Sep 8, 2004, at 11:56 AM, Octavian Rasnita wrote: Hi all, Is there a way to embed Perl programs in html like PHP can do? I heard that Perl can be used in ASP files, but I am wondering if there is an Apache module for that task. It would be cool to exist such a t

RE: PHPerl

2004-09-08 Thread Hanson, Rob
There is embperl like was mentioned. Also Mason is very popular and well documented. Rob -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 11:57 AM To: [EMAIL PROTECTED] Subject: PHPerl Hi all, Is there a way to embed Perl program

Re: PHPerl

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, Octavian Rasnita wrote: Is there a way to embed Perl programs in html like PHP can do? I heard that Perl can be used in ASP files, but I am wondering if there is an Apache module for that task. Basically, you're asking about templating systems for Perl. You have several to choos

Re: PHPerl

2004-09-08 Thread William McKee
On Wed, Sep 08, 2004 at 06:56:37PM +0300, Octavian Rasnita wrote: > Is there a way to embed Perl programs in html like PHP can do? > I heard that Perl can be used in ASP files, but I am wondering if there is > an Apache module for that task. Check out Apache::ASP[1]. ASP is a technology, not a lan

Re: PHPerl

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, William McKee wrote: On Wed, Sep 08, 2004 at 06:56:37PM +0300, Octavian Rasnita wrote: Is there a way to embed Perl programs in html like PHP can do? I heard that Perl can be used in ASP files, but I am wondering if there is an Apache module for that task. Check out Apache::AS

Re: PHPerl

2004-09-08 Thread William McKee
On Wed, Sep 08, 2004 at 12:41:37PM -0400, Chris Devers wrote: > Be aware though that Apache::ASP doesn't seem to be used nearly as > widely as some of the other template frameworks. Good point, Chris. I certainly have never used it... While on the subject of ASP support, I believe that there used

Re: HINT: regex coach

2004-09-08 Thread Jose Alves de Castro
On Wed, 2004-09-08 at 10:17, Ing. Branislav Gerzo wrote: > Hi, > > many of us need sometime fast help with regex. I recently found on the > web really nice and easy program. Maybe someone of you already know > it, for those, who don't it is REGEX COACH, download it from: > > http://www.weitz.de/r

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

2004-09-08 Thread Robert Page IV
On Sep 6, 2004, at 8:52 PM, Sean Davis wrote: 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? Do I do this within the textarea() form? This does not seem practical if other wa

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

2004-09-08 Thread Robert Page IV
Gunnar: I have attached the CGI script: weekly.pl. The subroutine save_weekly() captures the 'executive summary' and 'details' values entered into the textarea via $summary = param('executive summary') and $details = param('details'). For Debug purposes, I print $summary and $detail. I may make t

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

2004-09-08 Thread Robert Page IV
Gunnar: I have attached the CGI script: weekly.pl. The subroutine save_weekly() captures the 'executive summary' and 'details' values entered into the textarea via $summary = param('executive summary') and $details = param('details'). For Debug purposes, I print $summary and $detail. I may make t

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

2004-09-08 Thread Robert Page IV
Sean: I added pre('executive summary') and pre('details') to the save_weekly() subroutine and this worked! Thank you very much. I am weary about the fact that HTML tags are permitted inside PRE. Apparently, &, < and > must either not be present or handled somehow according to http://www.htmlhelp.

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

2004-09-08 Thread Robert Page IV
I found a solution to PRE. It is XMP.. From http://www.frc.ri.cmu.edu/~mcm/tags.html, " ... Like "PRE" but HTML tags aren't interpreted (except for )" Robert Page On Sep 8, 2004, at 10:21 PM, Robert Page IV wrote: Sean: I added pre('executive summary') and pre('details') to the save_weekly() s

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

2004-09-08 Thread Robert Page IV
Woops! XMP is deprecated with HTMl 4.01. Sorry for the extra message. Robert Page On Sep 8, 2004, at 10:37 PM, Robert Page IV wrote: I found a solution to PRE. It is XMP.. From http://www.frc.ri.cmu.edu/~mcm/tags.html, " ... Like "PRE" but HTML tags aren't interpreted (except for )" Robert Pag

Re: HINT: regex coach

2004-09-08 Thread Randal L. Schwartz
> "Jose" == Jose Alves de Castro <[EMAIL PROTECTED]> writes: Jose> Yes, it seems to be a very nice program, and it would probably help lots Jose> of beginners (and not only). Yeah, too bad it doesn't run on the only two platforms that matter to me, and doesn't appear to be provided in source

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

2004-09-08 Thread Randal L. Schwartz
> "Robert" == Robert Page IV <[EMAIL PROTECTED]> writes: Robert> Woops! XMP is deprecated with HTMl 4.01. Robert> Sorry for the extra message. XMP has been deprecated for over half the age of the web. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL

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

2004-09-08 Thread John Sharpe
-Original Message- From: Robert Page IV [mailto:[EMAIL PROTECTED] Sent: 09 September 2004 03:19 To: Sean Davis Cc: [EMAIL PROTECTED] Subject: Re: CGI.pm : Handling Carriage Returns from textarea() On Sep 6, 2004, at 8:52 PM, Sean Davis wrote: > White space (including carriage returns