Replace 'vars' pragma

This pragma is marked as obsolete, see http://perldoc.perl.org/vars.html.