By default split operates on $_, while your argument is in @_. So all the $fields[N] lines are uninitialized.sub do_split { my @fields = split;
In reply to RE: strange uninitialized value problem
by swiftone
in thread strange uninitialized value problem
by jjhorner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |