On Wed, Jan 09, 2002 at 03:55:38PM +0100, Jon wrote:
> but it will also split on \n,\t.... so / +/ would be better if it's just
> space you wanna split on
---end quoted text---
Check out the default settings for split ;-)
ie.
use Data::Dumper
$_="mary had a little lamb";
@_=split;
print Dumper \@_;
it'll give you what I think you want:
$VAR1 = [
'mary',
'had',
'a',
'little',
'lamb'
];
--
Frank Booth - Consultant
Parasol Solutions Limited.
(www.parasolsolutions.com)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]