AW: Yet another regex question

2004-03-23 Thread Dietmar Fiehn, Dr.
Yes, good advice: We are using HTML::Parser, which seems to be just another interface. Got all information of a page I ever wanted (and much more ;-) Dietmar > -Ursprüngliche Nachricht- > Von: Peter Guzis [mailto:[EMAIL PROTECTED] > Betreff: RE: Yet another regex question > > Don't use

RE: Yet another regex question

2004-03-23 Thread Peter Guzis
Don't use regular expressions to parse complex data like HTML. It's just not worth it. Try HTML::TokeParser instead. Peter Guzis Web Administrator, Sr. ENCAD, Inc. - A Kodak Company email: [EMAIL PROTECTED] www.encad.com -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: T

Yet another regex question

2004-03-23 Thread Chris
I'm trying to grab a website's description from the meta tags but I can't seem to make it work all the time. In some websites, the tag is closed with a ">, and in others, the tag is closed using " /> or "/>. Is there a way to do this with regex? $foo = qq~~; ($good) = ($foo=~ m#ption" content="\s

Re: XML-RPC

2004-03-23 Thread Trevor Joerges
Just my opinion but I think XML-RPC is a great way to accomplish that. I've seen entire application APIs using XML recently and the concept we a great idea. Would be a good way to make your processes modular too and allow to be separated onto individual boxes later on if required. Trevor Joerges,

RE: Need help pruning data..

2004-03-23 Thread Matt Bazan
That settles it, I'm going with rindex. Thanks for the suggestions. Matt > -Original Message- > From: Peter Guzis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 23, 2004 8:48 AM > To: Rob Dixon; Matt Bazan; [EMAIL PROTECTED] > Subject: RE: Need help pruning data.. > > > Ask and ye

RE: Need help pruning data..

2004-03-23 Thread Peter Guzis
Ask and ye shall receive :) The most recent solution is the first on the list. Benchmark: timing 1 iterations of use_grep_block, use_map_split, use_regex, use_rindex, use_split... use_grep_block: 8 wallclock secs ( 7.96 usr + 0.00 sys = 7.96 CPU) @ 1256.12/s (n=1) use_map_split: 10 w

XML-RPC

2004-03-23 Thread Rajkumar Malli
Hi guys I see XML-RPC generally used in the context of web services and am wondering if Perl's XML-RPC modules can be utilized to communicate between 2 perl processes on the same machine, exchanging arbitrary perl data structures. I agree that there are other approaches to exchange arbitrary perl

RE: Increase timeout

2004-03-23 Thread Guay Jean-Sébastien
Hello, > I have a very longtimerunning script, that is running on my > Win2000Professional on the IIS5.0. After some time, I get a timeout and > the script is aborted. How do I increase the time this script is allowed > to run? My suggestion would be to keep your web server doing something whi