in reply to Another question about the split function

If leading whitespace really isn't significant then why not just remove it before further processing (e.g. $line =~ s/^\s+//;)?

The cake is a lie.
The cake is a lie.
The cake is a lie.