""Jeff Peng"" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
>
>>         my($addr,$mac) = (split(/s+/))[0,2];
>
> You maybe would check your scripts carefully at first.
> Here should be:
> my($addr,$mac) = (split(/\s+/))[0,2];
>
> You have lost the '\' before 's+' in your regex.
>
>

ouch... for how many times i had  checked it, what a hard learned lesson. 
thanks.

/joseph 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to