http://www.perlmonks.org?node_id=1004712


in reply to Living on the edge …

Another option would be to set the TAR_OPTIONS environment variable. The tar man page doesn't mention this possibility (at least it doesn't on my system) but it seems to work fairly universally.

If you're using something like Module::Install which buries TARFLAGS under many layers, then a little line at the top of Makefile.PL may be use:

BEGIN { $ENV{TAR_OPTIONS} = q{--format=ustar} };
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'