This pull does something strange ;). Perl does something curious. 
If you know what rules it follows exactly it would be nice. I can't wrap my head around them.