in reply to expanding the functionality of split
split keeps any fields that are captured with the regex@fields = split /([^:]*):([^:]*)::([^\s]*)\s+([^:]*)/, $string;
elusion : http://matt.diephouse.com
Update: Oops, sorry 'bout the pattern var. I changed the way I was doing things, then had to run out the door and forgot to remove it before submitting.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: expanding the functionality of split
by BrowserUk (Patriarch) on Dec 10, 2002 at 00:59 UTC |