taint match

2001-11-28 Thread Francesco Scaglioni
Hi, The following line returns a value of 1 (one) - presumably to confirm a match. What am I missing such that $subject contains the value of the param ( if matches ). ( my $subject ) = ( param( 'subject' ) =~ /^(\w+)$/i ) || ''; TIA Francesco -- To unsubscribe, e-mail: [EMAIL PROTECTED

RE: taint match

2001-11-28 Thread Bob Showalter
> -Original Message- > From: Francesco Scaglioni [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 28, 2001 10:30 AM > To: [EMAIL PROTECTED] > Subject: taint match > > > Hi, > > The following line returns a value of 1 (one) - presumably to confirm > a match. What am I missing such

Redirecting STDOUT to a variable...

2001-11-28 Thread Ajmera_Mayank
Hi, I am looking to run a command using perl and get its return value as well as its STDOUT. Currently I am doing is $result = system("$myCommand >out.txt"); open(FILE,"< out.txt"); and then processing the data from the file. This is terribly slow for my application. Is there some way where I c

Re: Redirecting STDOUT to a variable...

2001-11-28 Thread Brett W. McCoy
On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > I am looking to run a command using perl and get its return value as well as > its STDOUT. Currently I am doing is > > $result = system("$myCommand >out.txt"); > open(FILE,"< out.txt"); > > and then processing the data from the file. This is terribly

RE: Redirecting STDOUT to a variable...

2001-11-28 Thread Ajmera_Mayank
Hi, Thanks -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 11:56 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Redirecting STDOUT to a variable... On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > I am looking to run a co

RE: Redirecting STDOUT to a variable...

2001-11-28 Thread Ajmera_Mayank
Hi Thanks, but I need to preserve the value returned by $mycommand also. I guess using backticks won't allow me to do that . Mostly what I need to do is read from STDOUT into a variable. But I don't know how to do that. Mayank -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECT

RE: Redirecting STDOUT to a variable...

2001-11-28 Thread Brett W. McCoy
On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > Thanks, but I need to preserve the value returned by $mycommand also. I > guess using backticks won't allow me to do that . > Mostly what I need to do is read from STDOUT into a variable. But I don't > know how to do that. Then just redirect STDOUT

accessing yahoo mail through text mode/shell

2001-11-28 Thread zaka rias
i have a script like this : == $name='sciensez'; $pass='blu635'; $serv='mail.yahoo.com'; $subj='Subject: Daily loggin report'; use Mail::POP3Client; $client = new Mail::POP3Client($name, $pass, $serv); $thestate = $client->State; if

Need some assistance, should be easy.

2001-11-28 Thread Brian
I am looking for a way, script or variables used, to determine from where someone is comming from. IE, if they click on my site from a search engine, or if they just type in the URL direct. Does anyone have the means to assist? Thank You! :) Brian. -- To unsubscribe, e-mail: [EMAIL PROTEC