split is returning the first empty field, to the left of the first GTG separator in string.
Please, read the first paragraph of split at perldoc.perl.org: http://perldoc.perl.org/functions/split.html
In reply to Re: Unwanted empty value in array after Splitting a string
by explorer
in thread Unwanted empty value in array after Splitting a string
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |