Reading in a loop from a socket?

2001-07-06 Thread Robert Aspinall
can read these characters manually with $socket->recv($buffer, $length), but I'm not sure how to actually code a while loop to depend on this, something akin to "as long as there are characters, recieve them, when there aren't any, wait for more.) Any ideas? Many thanks, Rober

Re: Reading in a loop from a socket?

2001-07-06 Thread Robert Aspinall
This just got odder. Looks like I'm reading the data in just fine, but it won't print to the screen unless I preface and suffix it with a newline. Any idea what could cause that? Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] > You might consider the fol

Re: Reading in a loop from a socket?

2001-07-06 Thread Robert Aspinall
Fantastic, that was it allright. I really appreciate the help, and I won't forget that one anytime soon. Best regards, Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "Peter Scott" <[EMAIL PROTECTED]> To: &quo

Re: REGEX

2001-07-09 Thread Robert Aspinall
Hello, I believe what you want to use is the substr function, as follows: $variable = substr($line, 4, 9); That would return the characters from 4 to 9 in the variable $line. Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "Govind

Re: STDIN and STDOUT

2001-07-10 Thread Robert Aspinall
Hello, open (STDERR, ">&STDOUT"); I think that'll do the trick. If it doesn't.. remove the &, and it will. (Sorry, I'm not at a perl enabled machine right now :) ) Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] - Original Messa

Re: REGEX[2]

2001-07-10 Thread Robert Aspinall
;ll prove that the loop is working and the problem may lie elsewhere. If it does, I'll be more than happy to help. Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED]

Sendmail w/perl

2001-08-14 Thread Robert Aspinall
t hello to STDOUT, and even print hello to STDERR, and I don't see the slightest peep from it. Any suggestions? Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sendmail w/perl

2001-08-14 Thread Robert Aspinall
It is getting called, if I put a sleep command in it, I can do a process list and find it in memory. I'm not using a forward file, I'm using a mail alias in /etc/aliases. Thanks, Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] - Original Message - From

Re: Sendmail w/perl

2001-08-14 Thread Robert Aspinall
pt, with the shell /dev/null, which makes it difficult to work with. Thanks for the help though. Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "Gary Stainburn" <[EMAIL PROTECTED]> To: "Robert Aspinall" <[EMAIL PROT

Re: Sendmail w/perl

2001-08-14 Thread Robert Aspinall
nt STDERR "testing!"; Any ideas? Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "Gary Stainburn" <[EMAIL PROTECTED]> To: "Robert Aspinall" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

Re: send email and upload file

2002-03-04 Thread Robert Aspinall
that's the section you'll need to modify. I can't really go into much more detail without seeing the portion of the script that reads the GET or POST data. Robert Aspinall V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "Debbie McNerney" <[EMAIL PR

Re: sendmail

2002-03-04 Thread Robert Aspinall
Not entirely sure what Rahul Garg was trying to do, but a simple http://www.abc.com/xyz/abc.htm>http://www.abc.com inserted into the HTML code would produce the desired result. You're right though, it's totally off topic :) Robert Aspinall V-ONE Corporation [EMAIL PROTECTED] -

Re: Simple question

2002-03-05 Thread Robert Aspinall
heck this right now, but let me know if it works for you. Thanks, Robert Aspinall V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "suraj rajendran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 04, 2002 6:35 PM Subject: Simple question

Re: from file to a list containing lists

2002-03-05 Thread Robert Aspinall
n sequence :) Robert Aspinall V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "James Woods" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 04, 2002 7:03 PM Subject: from file to a list containing lists > I've got a file that