in reply to strange uninitialized value problem
By default split operates on $_, while your argument is in @_. So all the $fields[N] lines are uninitialized.sub do_split { my @fields = split;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: strange uninitialized value problem
by jjhorner (Hermit) on Jun 02, 2000 at 21:54 UTC | |
by swiftone (Curate) on Jun 02, 2000 at 21:57 UTC |