On Sun, Sep 16, 2001 at 11:39:33PM +1000, peterw wrote:
> Given an alpha numeric string of vaying length that contains 0 or more
> valid IP numbers(dotted quad decimal)and each IP(if there is one) is
> seperated form the next IP or other text by one or more spaces how can I
> use Perl to retrieve thes IP's  into an array ?

Presuming the string is in $_
@IP = split;

  Scott.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to