http://qs321.pair.com?node_id=11139330


in reply to require and use strict vars

Also possible (since There's More Than One Way To Do It):

require Data::Dumper;
no warnings 'once';
local $Data::Dumper::Indent = 0;
use warnings 'once';

If the local is in a sufficiently-small scope, omit the use warnings.

Shameless plug: See also My Favorite Warnings: once.