Fix code (C<>) in head regression

Regression tests and patch for [rt.cpan.org #82706](https://rt.cpan.org/Ticket/Display.html?id=82706).