Re: HTTP Filtering and Threads...

2007-09-15 Thread Mumia W.
], beginners@perl.org Subject: Re: HTTP Filtering and Threads... In-Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: [EMAIL PROTECTED] X-ELNK-Received-Info: spv=0; X-ELNK-AV: 0 X-ELNK-Info

HTTP Filtering and Threads...

2007-09-14 Thread Dan
Hi, That's my first program and my first question in perl programming.. lolll! Any kind of help is appreciated. :) 1) I have a code in perl which is doing a HTTP request and getting a response and saving in a variable, so I want to filter a specific value of a field. My code is more or less like

Re: HTTP Filtering and Threads...

2007-09-14 Thread Somu
you can store all the data in an array first and then apply regex on all lines, if the response come in lines. Else, get all the data in a scalar and apply the regex. I think this may get you the silva my ($name,$type,$mname) =~ /name=(.*) type=(.*) value=(.*)/i; i'm not sure though how we may