in reply to split and join
just wondering if u had
$line="Bart Lisa Maggie Marge Homer blah blah"; @simpsons=split(/\s+/, $line);
what i wanted is to split so as to get
@simpsons = {"Bart", "Lisa", "Maggie", "Marge", "Homer blah blah"}
notice the last part i want it all attached. Assume i dont know how many "blah"s follow after "Homer".
Edit: g0n - code tags & formatting
In Section
Tutorials