in reply to Re: Constant redefined
in thread Constant redefined

this actually works:
use warnings; use constant foo => 10; BEGIN { no warnings; undef &foo; *foo = sub () {20} }