in reply to Re^2: constant variable using scaler variable
in thread constant variable using scaler variable

How about:
$ perl -l use strict; use warnings; use constant ERR => "Error in program"; sub func { return ERR; } print func(); __END__ Error in program
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]