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
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
$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
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]