2 ms·
That's an example of poorly written Perl code to grab the first character from $_, and bad code can be written in any language. More conventionally it would be
by chris1993 4y ago
That's an example of poorly written Perl code to grab the first character from $_, and bad code can be written in any language. More conventionally it would be written as "$fc=substr($_,0,1)" which seems reasonably clear and obvious.