-F and literal whitespace in the pattern #16183
Created by @epa
The documentation for -F in perlrun has the enigmatic note
You can't use literal whitespace in the pattern.
But what does this mean? A literal space seems to be equivalent to empty string:
% echo 'hello bob' | perl '-F ' -anE 'say $F'
But a literal tab character (shown as T in the code below) gives a weird error:
% echo 'hello bob' | perl '-FT' 'say $F'
This bug report is for two suggestions. First, the argument parsing
Second, since currently literal whitespace is not allowed in the
Alternatively, if the pattern contains literal whitespace this could