more changes for perl 5.12