Improve compatibility with perl 5.40

Change-Id: I345c971df1fd952c6e82042f04c8cc1b29ab909f
1 file changed