Found some doco un split which shows it using:
split(/,/)
thanks.
-----Original Message-----
From: Ken Yap [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 12, 2000 1:07 AM
To: Sydney Linux Users Group
Subject: Re: [SLUG] Perl help with Webmin module
>bunch of strings which outputs to the page. Problem is that when the split
>command runs, it grabs all the data into the first string..
>
>Here's a sample data file...
>11/07/00,20:18:20,243.1,252.2,247.0,55.05,50.00,005.2,036.4, ,
>...
>($d1,$lv,$lvmax,$lvmin,$freq,$outv,$uload,$bv,$bload,$utemp)=split;
By default split breaks on whitespace, not commas.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug