Do not use "my" function and "if/unless" pragmas at the same time. bugid:111062