in reply to split() problem
split uses a regular expression and not a plain string for splitting (mostly). Your string * gets interpreted as the regular expression /*/, which is nonsensical. You could have shown us how it "fails" for you. I think you want to use split /\*/ instead, which will split on literal asterisks in your data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: split() problem
by Anonymous Monk on Jan 24, 2007 at 09:00 UTC | |
by shigetsu (Hermit) on Jan 24, 2007 at 09:23 UTC | |
by ikegami (Patriarch) on Jan 24, 2007 at 17:18 UTC |