Re: String operation

2001-09-07 Thread Michael Fowler
On Fri, Sep 07, 2001 at 05:15:29PM +0900, Thaddeus Robertson wrote: > +OK 12 76912 This looks suspiciously like a pop3 response. There are pure Perl POP3 modules that should work on Mac, have you tried them? Michael -- Administrator www.shoebox.net Programmer, System Admin

RE: String operation

2001-09-07 Thread Rob Dixon
7;; [EMAIL PROTECTED] > Subject: RE: String operation > > > $string = "+OK 12 76912"; > > $string =~ /\s+(.*)\s+/; > > $lastonserver = $1; > > -Original Message- > From: Thaddeus Robertson [mailto:[EMAIL PROTECTED]] > Sent: 07 September 2001 0

RE: String operation

2001-09-07 Thread John Edwards
$string = "+OK 12 76912"; $string =~ /\s+(.*)\s+/; $lastonserver = $1; -Original Message- From: Thaddeus Robertson [mailto:[EMAIL PROTECTED]] Sent: 07 September 2001 09:15 To: [EMAIL PROTECTED] Subject: String operation Hi Here is a total newbie question: I want to stick

String operation

2001-09-07 Thread Thaddeus Robertson
Hi Here is a total newbie question: I want to stick the second part of this string: +OK 12 76912 into the variable $lastonserver so that $lastonserver = 12 I am using MacPerl 5. TIA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]