Another regex question

2003-05-30 Thread Scot Robnett
Okay, I've looked at perlre, perlretut, perldoc.com, Learning Perl, and a partridge in a pear tree, and I'm still stupid. :) Does anyone out there have a working example script that does matching over multiple lines, preferably an HTML file? I'm just having a lot of difficulty with this and it

RE: Another regex question

2003-05-30 Thread Scot Robnett
I don't understand what you did in that example that I didn't do already...there was a script sample underneath the HTML that does what you're showing, I'm having trouble with the multi line matching and other than changing $/ (which I did), I don't see anything different... -Original

RE: Another regex question

2003-05-30 Thread Scot Robnett
Andrew, Thanks for trying to help. Scot -Original Message- From: Andrew Brosnan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:05 PM To: Scot Robnett; [EMAIL PROTECTED] Subject: RE: Another regex question Try this: #!/usr/bin/perl #File: use warnings; use strict; #set

Loading files...

2003-05-30 Thread Nicholas Davey
I know I saw this some where before, but not sure. What I would like to be able to do is this. Say I have a page layout like so... html table ... tr td [file 1] /td /tr tr td [file 2] /td /tr /table /html Where I have put the [file X] I want to include an external file (relative to my

Need more memory

2003-05-30 Thread Camilo Gonzalez
Help, How do I flush out the memory so I can start with a fresh allotment? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

newbie question - re: form validation

2003-05-30 Thread mst_wake
Hi. I'm a newbie: both to this news group and to land of Perl/cgi :o) I'd appreciate getting some help with a form validation script! I'm working on a conference room reservation form. The html form has fields for name, title of meeting, day/month/year, start time and end time. My

Re: Too little memory

2003-05-30 Thread zentara
On Thu, 29 May 2003 10:47:26 -0500, [EMAIL PROTECTED] (Camilo Gonzalez) wrote: I need to read in from a temp file that is about 10 megs big in 1.5 meg increments and write results to a database. I can't slurp up the whole temp file because I'm only allowed 2 megs of memory. I was hoping to

Re: Need more memory

2003-05-30 Thread zentara
On Fri, 30 May 2003 00:42:07 -0500, [EMAIL PROTECTED] (Camilo Gonzalez) wrote: Help, How do I flush out the memory so I can start with a fresh allotment? This is not a cgi question, it should be posted to perl.beginners. Perl will take care of the memory for you, it does not relinquish memory

Re: Problems with URL parameters.

2003-05-30 Thread R. Joseph Newton
Nicholas Davey wrote: Hi. Im not totaly new to programming in general. I am fairly new to PERL One thing wetry to avoid in Perl is SHOUTing We do use upper case for constants, though. [snip] http://www.blah.com/cgi-bin/index.cgi?login=yes (DONT go here, example only) #!/usr/bin/perl [