in reply to Re: column counter and printf question
in thread column counter and printf question

$line =~ s/\s+//; # strip leading whitespace

The comment doesn't match the code, it strips the first whitespace it finds. Or perhaps you're missing a ^.

Replies are listed 'Best First'.
Re^3: column counter and printf question
by scorpio17 (Canon) on Oct 28, 2015 at 17:23 UTC
    Oops... thank you. I've corrected that.